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

How can an exception be thrown manually by a programmer?

771


why an outer class cannot be declared as private?

3955


What are the differences between getting and load method?

786


What is meant by data hiding/encapsulation?

860


What are actual parameters?

781


How many bytes is a url?

788


why are there separate wait and sleep methods? : Java thread

822


What is the preferred size of a component in java programming?

775


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

781


How is java hashmap implemented?

796


what is thread? What are the high-level thread states? : Java thread

1059


How many java versions are there?

784


What are different types of control structures?

749


Why parsing is done?

764


What is the difference between a method and a function in alice?

845