Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is an abstract class and abstract method?

Answers were Sorted based on User's Feedback



What is an abstract class and abstract method?..

Answer / nikhlesh gupta datia(m.p.)

Abstract Method:- The method which is define in the class without bodies that is without implementation is call as Abstract Method. & all the Abstract Method must be define with abstract keywords.

Abstract Class:- The class which is define with some abstract method is called as Abstract Class. & all the Abstract Method must be define with abstract keywords. We cannot created the object of abstract class.

Is This Answer Correct ?    18 Yes 2 No

What is an abstract class and abstract method?..

Answer / niranjanravi

Abstract class is a class which contains atleast one
abstract method in it.OTHER methods maybe abstract or
concrete.

Is This Answer Correct ?    15 Yes 0 No

What is an abstract class and abstract method?..

Answer / tarun

Abstract Class : An abstract class can not be initialized.
Any class can extends it. The methods declared in the
abstract class can be abstract or not.
Abstract Method : If any method is declared as abstract
method it should be in a abstract class. And it can be
override by any other class which is extending it. if method
is declared as abstract it should not contain body.

For Example:
public abstract class AbstractEx {
public void reset(){
System.out.println("The Sun Rises in the east");
}
public abstract void method();
protected abstract void newmethod();
}

Is This Answer Correct ?    6 Yes 0 No

What is an abstract class and abstract method?..

Answer / priyanka tiwari

abstract class contains abstract method and if method will
be abstract the class should be abstract class.

Is This Answer Correct ?    4 Yes 0 No

What is an abstract class and abstract method?..

Answer / ravikiran(aptech mumbai)

abstract class contains abstract as well as non abstarct
methods,And the class cann't get instantiated.

abstarct method is the one which must get override in the
subclass

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More Core Java Interview Questions

my method "abc" return array of interface "xyz" and "pqr" is abstract class implements abc and class "jkl" extends pqr My problem 1) when i call abc it retrun array xyz how can i do this hint xyz refer_xyz = new jkl(); but i can't create array. 2)I want to access method of jkl using reference of xyz??

1 Answers  


what is inner class?

6 Answers   HCL,


Without creating a new object, How you can retrieve a String or other object?

1 Answers  


What is garbage collection in Java, and how can it be used ?

32 Answers   Accenture, HCL, Infosys, Sara, SITS, TCS, Wipro,


What are heap memory and stack memory and what are memory tables.

0 Answers   Aspiring Minds,


How can you traverse a linked list in java?

0 Answers  


Can memory leak happen java?

0 Answers  


Is java supports multiple inheritance? explain?

12 Answers   BUET, Inforica,


how can we synchronize Hash map?

3 Answers   CTS,


When should we create our own custom exception classes?

0 Answers  


What is java ceil?

0 Answers  


what is difference betwenn Access Specifier and Access Modifier ????

2 Answers  


Categories