What is an abstract class?

Answers were Sorted based on User's Feedback



What is an abstract class?..

Answer / pranab dutta

An Abstract class serves as a template, so it must be
extended /subclassed. It contains a static data. It means a
class that is abstract may not be instantiated and its
constructor can?t be called. A class may be declared
abstract even if it has no abstract methods that prevents
it from being instantiated.

Is This Answer Correct ?    4 Yes 0 No

What is an abstract class?..

Answer / guest

Hi...
Abstract class: U cannot instantiate an object of Abstract
class.An abstract class should having atleast one abstract
methoda and it should not final.

Is This Answer Correct ?    5 Yes 3 No

What is an abstract class?..

Answer / shan

An abstrct class is a class which contains special property
than ordinary class.
An abstarct class contains atleast one abstract method
which will be left to its subclass to implement.
An abstract class defines some common properties to its
subclass

Is This Answer Correct ?    3 Yes 1 No

What is an abstract class?..

Answer / janet

An abstract class is a class designed with implementation
gaps for subclasses to fill in and is deliberately
incomplete.

Is This Answer Correct ?    1 Yes 0 No

What is an abstract class?..

Answer / prasviji143@gmail.com

abstract class is an incomplete class which contains incomplete and complete methods.

incomplete methods contains only the declaration and ended with semicolon (; )

To access the incomplete methods we need create a concrete class with the help of extends keyword.

In concrete class there will be method definitions for incomplete methods.

abstract class is known as superclass and concrete class as subclass.


In concrete class we can create the object and we can call the incomplete methods and execute the program.

Is This Answer Correct ?    2 Yes 1 No

What is an abstract class?..

Answer / sitaram

abstract class is class. we can't create the instantiate the
object of abstract class. In abstract class contains
concrete and abstract methods.when ever we can implement the
abstract methods. The current class will extends the
abstract class.

Is This Answer Correct ?    0 Yes 1 No

What is an abstract class?..

Answer / ms

an abstract class is one which only gives the body of the
class containing the methods with out any
implementation.the abstract methods and the abstract
objects cannot be instantiated

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Core Java Interview Questions

Can we override singleton class?

0 Answers  


How do I start learning java?

0 Answers  


What does java final mean?

0 Answers  


why the primitive data type have classes?

4 Answers  


Hi Friends, can you explain instance in java. In general instance means "occurence of something" . In java what is instance.

4 Answers  






Why can't we make jsp as a controller and action servlet in struts?

8 Answers   TCS, Wipro,


I have a sorting issue with a Hashmap. My constraint is that I MUST use the Hashmap and work with existing code. I do a database query and place the results in a Hashmap. When I iterate thru the Hashmap, it loses the original alphabetical sorting done by the database. So, my problem is that I must sort the results coming out of the Hashmap which is then placed into another class.

1 Answers  


How will you reverse a link list without using recursion?

0 Answers   Global Logic,


what is java

3 Answers   Tech Mahindra,


What is the need of "creating and throwing an UserdefinedException" when the "Exception" class is already available?

4 Answers  


What are java packages?

0 Answers  


What is substring 1 in java?

0 Answers  


Categories