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 you have a constructor in abstract class?

Answer Posted / ranjan

We can write a method name same as class which is called
constructor in the abstract class , but as a abstract class
can not be instanciated so that method used as a general
method.

but no error would be there...

Is This Answer Correct ?    31 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you add an element to a set in java?

974


Can we sort array in java?

888


What is time complexity algorithm?

988


Can a function return a function?

987


What is the purpose of garbage collection in java, and when is it used?

982


You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain

927


Explain treeset?

1048


How do I write a self declaration?

1012


What are the advantages of functions?

869


How to solve the problem of generating the unique hash keys with hash function?

1854


Can we override constructor?

967


Why do we use regex?

951


Explain different forms of polymorphism?

1095


What is static import?

1094


Are strings immutable in java?

918