Answer Posted / vikram naidu
basically in java we have 2 types of classes. those are user
defined classes and pre defined classes. in both we can
differentiate the classes in 3 ways. those are interfaces,
abstract classes and concrete classes. Where we can't create
the objects for the abstract class and interfaces. by using
inheritance concept we can able to create the object of the
for the derived classes and assign those objects to the base
class references(according to OOP concept).
Thank you.
| Is This Answer Correct ? | 30 Yes | 2 No |
Post New Answer View All Answers
Describe the syntax of multiple inheritance? When do we use such an inheritance?
What is meant by local variable and instance variable?
Why are functions called methods in java?
What is nan inf?
What is communist flag?
What is a Transient Object?
Can a class be defined inside an interface?
What is skeleton and stub? What is the purpose of those?
Why do we need hashset in java?
What is a numeric digit?
How to display arraylist values in java?
What are the differences between forwarding () method and sendredirect() methods?
Who is the owner of java?
What is garbage collection? Can it be forced to run?
Is string is a data type?