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
Why do we create public static method in java?
What do you know about the garbage collector?
Does chrome use java?
What advantage do java's layout managers provide over traditional windowing systems?
What is the default size of arraylist in java?
Can we have any other return type than void for main method?
Can we override the static methods?
How to reverse a string in java?
Which one will take more memory: an int or integer?
Explain about the security aspect of java?
What's the difference between comparison done by equals method and == operator?
Is singleton thread safe in java?
What is variable explain with example?
Explain hashset and its features?
How do you sort in descending order in java using collections sort?