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 constructor chaining and how is it achieved in java?
What are the actions that can occur when a thread enters blocked state?
What is the difference between overriding & overloading?
Explain the scope of a variable.
Can a constructor be made final?
Explain throw keyword in java?
Is this valid in java ? Can we instantiate interface in java?
What is complexity and its types?
What is a parameter in java?
What are the differences between getting and load method?
Why do we use regex?
Can we declare a static variable inside a method?
What is core java used for?
What is difference between jdk,jre and jvm?
Difference between overriding and overloading in java?