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.......
i have a doubt pls............will we use in heritance in salesforce ?
Yes, Oops concepts can be used in Salesforce(Apex) too.
Batch classes and schedulers are the best example of inheritance. They use implement to extract the logic from batchable and Schedulable classes respectively.
Check this out.
Hi Sathi,
Yes, You can use inheritence as same as Java or C++.
Use following code as a sample which uses Inheritence.
public class AB{
public class A{
}
public class B extends A{
Here AB is a outer class and A and B is an inner class. B extends A used here for inheritence.
hi.....can u give me some example programs using inheritance.
Yes, Oops concepts can be used in Salesforce(Apex) too.
Batch classes and schedulers are the best example of inheritance. They use implement to extract the logic from batchable and Schedulable classes respectively.
Check this out.
Hi Sathi,
Yes, You can use inheritence as same as Java or C++.
Use following code as a sample which uses Inheritence.
public class AB{
public class A{
}
public class B extends A{
}
}
Here AB is a outer class and A and B is an inner class. B extends A used here for inheritence.
hi.....can u give me some example programs using inheritance.