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

Can i have abstract class with no abstract methods?

Answer Posted / manish kushwaha

HI All,

In Java there is very lovely concept related to Abstract
Class, keep this concept always in your mind i.e.
1) A class can be abstract "without any abstract method".
2) But if a single method is abstract you need to declare
your class as abstract this is mandatory but if class is
abstract then its not mandatory to have abstract methods
as mentioned above.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we achieve thread safety in java?

1201


If a method is declared as protected, where may the method be accessed in java programming?

1053


give an example for encapsulation?

1093


Explain how hashmap works?

1120


What is a byte array?

1149


How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

1060


How do you use spaces in java?

1037


What is the purpose of skeleton and stub?

1351


What is the use of string and stringbuffer?

1048


Why is singleton class used?

1085


What is a lightweight component?

1065


what is the difference between Object Based Language and Object Oriented Language?

1086


How does multithreading take place on a computer with a single cpu?

1056


What is console based application in java?

1086


What is passing parameters in java?

1095