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 object class is super class for every class in java?
Can a class have multiple superclasses?
What is a for loop in java?
What are the rules for variable declaration?
What is meant by data hiding/encapsulation?
What is the difference between java applets and applications?
Can java program run without jre?
List some oops concepts in java?
Can a class be defined inside an interface?
What is thread life cycle in java?
What is the original name of java?
Is Constructor possible in abstract class in java ?
When should the method invokelater() be used?
What is string builder in java?
What are the advantages of encapsulation in java?