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 / mandeswara rao

yes, we can.To prevent a class from directly creating
objects, better declare them as abstract classes.
Eg: HttpServlet

Is This Answer Correct ?    37 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does constructor return any value?

1025


Is it possible to compare various strings with the help of == operator? What are the risks involved?

1072


What is data string?

972


What are the differences between heap and stack memory?

1087


What is oop in java?

1059


What environment variables are required to be set on a machine in order to run Java programs?

1192


What's the default access specifier for variables and methods of a class?

1120


What do you mean by JVM?

1080


If a class is declared without any access modifiers, where may the class be accessed in java programming?

1216


What initialize variables?

1022


How do you convert string to int in java?

1077


What is the multi-catch block in java?

1038


Which graphs are functions?

971


If system.exit (0); is written at the end of the try block, will the finally block still execute?

1111


What is threaded programming and when is it used? : Java thread

1065