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

What do you understand by final value?

1046


Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?

1032


What are assembly attributes?

1002


Why does java have two ways to create child threads?

944


What is the difference between replace and replace all?

1015


How many ways can an argument be passed to a subroutine and explain them?

1022


What is meant by null and void?

961


What is the best way to findout the time/memory consuming process?

1026


How is Object Oriented Programming different from Procedure Oriented Programming?

1047


What is unmodifiable collection in java?

920


What about member inner classes?

1092


What is your platform’s default character encoding?

1078


When a byte datatype is used?

2182


Does list maintain insertion order java?

905


Can we have multiple catch block for a try block?

994