What is an abstract class?

Answer Posted / sundar m

Abstract class is a restricted class that cannot be used to create objects
It is the class which the "abstract" keyword is used to create the abstract class and this was implemented for the user simplicity and the abstract method cannot contain the body
The abstract class must be inherit from another class

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does += mean coding?

731


Can we compare two strings in java?

770


What is a layout manager and what are different types of layout managers available in java awt?

953


When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

1015


What is the difference between a factory and abstract factory pattern?

895


How big is a gigabyte?

826


What is treeset and treemap in java?

791


What is indexof in java?

738


What is the relationship difference the canvas class and the graphics class?

804


What is final modifier?

755


What is the maximum size of byte array in java?

767


What is illegal identifier in java?

762


Can we have return statement in finally clause? What will happen?

744


Difference between throw and throws?

873


Does it matter in what order catch statements for filenotfoundexception and ioexception are written?

722