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...

There can be a abstract class without abstract methods, but
what is the need to declare a class abstract if it doesn't
contain abstract methods?

Answer Posted / srinidhi a.p

Abstract classes are a type of helper classes. i.e., they
help some other class to complete its job.
So, if there is no methods specified, then the instance or
static variables can serve something for other class which
extends it.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is purpose of find feature?

1067


Mention some features of java?

942


Is void a data type in java?

971


What is synchronization and why is it important in java programming?

919


Why strings in java are called as immutable?

973


What happens if main method is not static?

983


What is a copy constructor in java?

1101


What is meant by 'bit masking' in java?

1171


What do the thread?class methods run() and start() do?

1018


What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

1120


What does the ‘static’ keyword mean? Is it possible to override private or static method in java?

966


How do you compare two objects?

917


What is included in core java?

1045


What is mean by encoding?

1059


what is method reference in java 8?

1020