wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes constructer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "constructer" Watch "constructer" New topic


seema chhetri
Ranch Hand

Joined: Feb 17, 2009
Posts: 41

Please let me know that how i can call a default constructer in a parametrised construter.

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10170

How difficult is it to try it out yourself and find out? All you need to do is add one line

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
seema chhetri
Ranch Hand

Joined: Feb 17, 2009
Posts: 41
hello ,

i want to know as i made one class in which there is a default constructer b4 there was a parametrised constructer.but i removed the parameter and i maked this class a singleton class with default constructer . and in the constructer of another class we have passed the parameter in the object of this class . now in that parameter there is two string . like

subject: constructer
Similar Threads
how to invoke the first superclass constructer with out invoking the subclass constructer..?
crack this quick
(Inheritance) please Help!
about constructer