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

In which language java is written?

926


How do you know if a value is nan?

1011


What is the difference between the ">>" and " >>>" operators in java?

930


What 4 doubled?

926


Why is singleton not thread safe?

1011


What is "this" keyword in java? Explain

1052


Does java have a compiler?

980


How to instantiate member inner class?

1030


Can a boolean be null java?

922


What is the difference between a switch statement and an if statement?

1017


please send me hr interview questions in it industry

2066


What are the default and parameterized constructors?

1018


How transient variable is different from volatile variable?

1019


Difference between linkedlist and arraylist.

1021


Why do we create public static method in java?

1046