• krishna.nani
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Hi,

 

  I am new to salesforce, can any body help me  out,this is the sample program,please help me out how to

execute below programme.

 

 

public class newaccount
{
Integer num=10;
public void testmethod testcontroller()
{
NewAccount_c[] accs;
accs = [SELECT Id FROM NewAccount__c WHERE name LIKE 'v%'];
Delete accs;
}
}
private class testclass
{
newaccount accs= new newaccount();
accs.testcontroller();
}