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 there be an abstract class with no abstract methods in it?



Can there be an abstract class with no abstract methods in it?..

Answer / pankaj kumar

Yes,If A class have an abstract method the class must be declared as abstract, but if a class is declared as abstract
then,this is not mandatory that class hold any abstract method.

exa :
1. public Abstract class a{

// instance method;
}
///Above declaration is right

2. public class a{

// instance method;
// abstract method; //then you must declare this class as abstract.
}
///Above declaration is right

Is This Answer Correct ?    13 Yes 2 No

Post New Answer

More Core Java Interview Questions

Why synchronization is important?

0 Answers  


How you can create a radio buttion using Checkbox class?

1 Answers  


What is increment in java?

0 Answers  


What are access specifiers in java ?

0 Answers   Akamai Technologies,


Can a class extend more than one class?

0 Answers  


What are the differences between this and super keyword?

0 Answers  


which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com

0 Answers   IBM,


why we r not use pointers in corejava?

2 Answers   Samsung,


How are Java source code files named?

3 Answers  


What is string builder?

0 Answers  


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

0 Answers  


How many types of methods are there?

0 Answers  


Categories