why abstract class does not have object creation
Answer Posted / meenakshi
absract class contain defined and undefined methods,,so when we create object for abstract class we need to override both defined and undefined methods inorder to avoid overriding defined methods for abstract class there is no object creation...
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
Why we use protected in java?
What are the two basic ways in which classes that can be run as threads may be defined?
What is the use of default method in interface in java?
What is difference between path and classpath in java?
What are byte codes?
When to use runnable interface vs thread class in java?
Why is a singleton bad?
What is the main purpose of java?
What are streams in java 8?
What is the difference between iterator and list iterator?
Why stringbuilder is not thread safe?
How many inner classes can a class have?
What is an immutable object? How do you create one in java?
Why string is immutable or final in java
How dead lock situation occurs in java and how you can identify it?