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
What are the parts of methodology?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
What is null in java?
Can an interface extend another interface?
What is += mean in java?
What is thread life cycle?
How to create a fecelet view?
Why do we need variables?
What is generic class?
Why we cannot override static method?
What do you mean by an interface in java?
Can a class extend 2 classes in java?
What is the static keyword?
What are 3 data types?
Which container method is used to cause a container to be laid out and redisplayed in java programming?