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

What are multiple inheritances? Is it supported by java?

680


What are the steps that are followed when two computers connect through tcp?

769


What do you mean by scope of variable?

666


Can you access the private method from outside the class?

743


How does java enable high performance?

933


Explain the importance of join() method in thread class?

853


What are the types of literals?

811


What is constructor and virtual function? Can we call a virtual function in a constructor?

908


What is the purpose of format function?

860


These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

814


Can we extend singleton class?

720


How to sort array of 0 and 1 in java?

745


Explain jvm, jre, and jdk?

794


Explain the difference between the public, private, final, protected, and default modifiers?

795


How do you do absolute value in java?

739