what is abstract method with example?

Answer Posted / vijay, hangar17

Abstract method is a method that has incomplete body. The
body is defined by the class which extends the abstract class.

Is This Answer Correct ?    34 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is :: operator in java?

509


What is the use of :: in java?

570


Explain importance of throws keyword in java?

564


Explain different ways of creating a thread?

529


Does A Class Inherit The Constructors Of Its Superclass?

538






When do we use hashset over treeset?

536


What is polymorphism and what are the types of it?

508


Name few java 8 annotations ?

565


Explain the difference between collection api and stream api in java8?

511


What are the two ways of implementing multi-threading in java?

816


What is the difference between double and float variables in java?

636


How to display all the prime numbers between 1 and n (n is the number, get the input from user)

514


What is your platform?s default character encoding and how to know this?

1753


How do you insert a line break?

496


What is the difference between compare and compareto in java?

491