Answer Posted / harshavardhan
In Inheritance , class become more general and more
abstract.Ancestor classes are more general, i.e more basis
for other classes.Abstract classes can have fields and
concrete methods.Methods are declared not defined so we can
not create objects. but we can create object variables of an
abstract class. but such variable must refer to an object of
a nonabstract subclass.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
Write a program to show whether a graph is a tree or not using adjacency matrix.
Can inner class be public in java?
What is n in java?
Is java programming easy?
How does finally block differ from finalize() method?
What is public static?
Explain java thread life cycle.
How does split work in java?
Give an example of call be reference significance.
What is difference between printf and scanf?
Is a method a function?
What is composition in java?
What is static synchronization?
What is the purpose of the return statement?
What is the use of volatile in java?