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...

waht happens when a return type ,even void is specified for
a constructor?

Answer Posted / krishna kumar g.

Answer 2 is exactly correcr.I have done practiclly.No
compile time errors.
Code will run and executes sucessfully.But it treats as
method not as constructor.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is instance example?

959


What are the legal operands of the instanceof operator?

1030


What is better- service oriented or batch oriented solutions?

2226


What are inbuilt functions in java?

1091


What is a char in java?

1047


What is split return?

1007


Is java se open source?

1036


How many types of array are there?

1011


Which class is the superclass for every class in java programming?

1000


What is a text string?

1090


Explain heap sort?

1125


What is equlas() and hashcode() contract in java? Where does it used?

1136


Why does java doesnt suuport unsigned values?

2245


Is static a keyword in java?

985


What is downcasting?

1115