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

Which is a valid identifier?

1295


Define how does a try statement determine which catch clause should be used to handle an exception?

1250


Is static variable stored in heap?

1050


What is difference between length and length() method in java ?

1050


What are features of java?

1082


What is command line used for?

1136


Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?

1131


What is a numeric string?

1072


How would you format a date in java? I.e. In the ddmmyyy format?

1432


Is zero a natural number?

1098


Similarity and difference between static block and static method ?

973


How many bits is a word?

1059


When do we need to use internal iteration? When do we need to use external iteration?

1186


What is a parameter in java?

1033


From the two, which would be easier to write: synchronization code for ten threads or two threads?

1104