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 restrictions for using anonymous inner classes?

1098


What is a consumer in java?

1024


Justify your answer that you can't define a method inside another method in java, if you can then how?

1184


What is a literal coding?

1028


What are the new features in java 8? Explain

955


What does regex mean?

1021


What is a pointer and does java support pointers?

1017


Can anonymous class have constructor?

1028


Why do we declare a class static?

1164


What is difference between class and object in java?

1082


What are the differences between forwarding () method and sendredirect() methods?

1115


What is mvc in java?

1020


What is the purpose of methodology?

1083


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

1042


What is this keyword used for?

1120