what is abstract method with example?
Answer Posted / syamsunder
Abstract method does not contain method body it contains only method header so we can say this is an in complete method.If a class contains a abstract method declare the class as a abstract and implementation can provides method body to all the abstract methods and also we can't create an object to abstract class
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
What is ternary operator? Give an example.
What does singleton mean in java?
How do you call a reference in java?
How to display all the prime numbers between 1 and 100
Should database connections be singleton?
What are keywords and reserved words in java?
Can string be considered as a keyword?
Differentiate between run time error and syntax error.
Difference between final and effectively final ? Why is effectively final even required ?
Difference between object instantiation and construction ?
What is linkedlist in java?
What is one third plus one third as a fraction?
Is ++ operator thread-safe in java?
What are the different types of sorting in java?
What is the difference between delete and delete[]