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 meant by data hiding in java?
What is native method in java?
What is the difference between choice and list?
What best practices should you follow while writing multithreaded code in java?
Which collections are thread safe in java?
how is final different from finally and finalize in java?
Explain how can you debug the Java code?
What is method reference?
Can a constructor call the constructor of parent class?
Why do we create threads in java?
Do we need to manually write Copy Constructor?
What is the difference between yield() and sleep()?
What is the purpose of a default constructor?
How do you create a first line indent?
Which eclipse is best for java?