what is abstract method with example?

Answer Posted / srinivasa

A method without implementation

or

Abstract method does not contian the method body.It
contains method prototype . It is implemented in its sub
classes.

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is math an abstract class in java?

534


What is empty list in java?

627


What is a lambda expression ? What's its use ?

564


What do you understand by access specifiers in Java?

586


Is list ordered in java?

542






Explain the difference between runnable and callable interface in java?

586


Is array primitive data type in java?

535


What is a nested class?

594


What is binary search in java?

559


What is better - 'bit-shift a value' or 'multiply by 2'?

701


What is the this keyword?

558


What is high level language in computer?

541


Which class is the superclass for all the classes?

535


Is void a data type?

538


What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

625