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

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

1080


What is the declaration statement?

997


How will you get the platform dependent values like line separator, path separator, etc., ?

1083


Difference between this() and super() in java ?

1142


Explain where variables are created in memory?

1057


os is developed in c no java is more secured then c na why dont the os developed is developed using java

4309


What is hash in java?

1042


Explain the difference between the public, private, final, protected, and default modifiers?

1097


How can we break singleton in java?

1020


What is finally and finalize in java?

1158


What classes of exceptions may be caught by a catch clause in java programming?

1240


What are 3 boolean operators?

1054


What restrictions are placed on method overriding in java programming?

1057


Explain about field hiding in java?

1001


What is consumer interface?

1070