function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
hi.........can anyone give me some sample programs using inheritance.
Hi,
Here is the pdf links for inheritance concepts.
http://www.cs.utexas.edu/~lavender/courses/tutorial/java-06.pdf
http://www.tutorialspoint.com/java/java_inheritance.htm
Inheritance is almost same in java as well as salesforce.
public virtual class parent{ public void doStuff() { system.debug('#!@#@!#@!#@!#@!#@!# Test SRK'); }}
public class child extends parent{}
Then go to Developer Console & run thebeloe mention code
child CC = new child();CC.doStuff();
Isn't this the duplicate to the below post:-
http://boards.developerforce.com/t5/Apex-Code-Development/plsgive-me-solution/td-p/585963
Please don't post duplicate post.
Hi,
Here is the pdf links for inheritance concepts.
http://www.cs.utexas.edu/~lavender/courses/tutorial/java-06.pdf
http://www.tutorialspoint.com/java/java_inheritance.htm
Inheritance is almost same in java as well as salesforce.
public virtual class parent
{
public void doStuff()
{
system.debug('#!@#@!#@!#@!#@!#@!# Test SRK');
}
}
public class child extends parent
{
}
Then go to Developer Console & run thebeloe mention code
child CC = new child();
CC.doStuff();
Isn't this the duplicate to the below post:-
http://boards.developerforce.com/t5/Apex-Code-Development/plsgive-me-solution/td-p/585963
Please don't post duplicate post.