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

Explain Basics of OOP Language in java

1004


What is the difference between overriding and overloading in OOPS.

1092


What is the base class of all classes?

1012


Can singleton class be inherited in java?

954


What is the benefit of lambda expressions?

993


How to do a true java ping from windows?

1079


How we can declare a static variable?

1082


Discuss about garbage collector in Java.

1046


What is the syntax and characteristics of a lambda expression?

997


Why char array is favored over string for the storage of passwords?

1020


What is difference between char array and string?

1068


What’s the difference between the methods sleep() and wait()?

970


What is local declaration?

918


how are methods defined?

1007


What is function declaration?

929