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 and its types?
Why packages are used?
How do you override a method in java?
What is slash r?
How to call one constructor from the other constructor ?
What does function identity () do?
What are different exception types exceptions available in java ?
How we can generate random numbers in java?
What are functions in java?
What is the argument in java?
How do you remove duplicates in java?
What is the default execution method in java?
What is byte value?
What is the default access specifier for variables and methods of a class?
What is static variable with example?