File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes when costructor is call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "when costructor is call" Watch "when costructor is call" New topic

when costructor is call


Joined: Oct 12, 2001
Posts: 7
I have some problem about constructor that if i create a object of any other class in my main method , and that class has already create a object of third class before it's constructor ,
what out will be displayed when i call a constructor of that class( that class has not default contructor ).

jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
Not sure if I understand the question. Could you perhaps either further clarify your problem, or show some code that will help others understand the problem you are having?
Also, please re-register with a name that meets the JavaRanch naming conventions. JavaRanch requires a user name in the form "First name" + space + "Last name".
I agree. Here's the link:
subject: when costructor is call
jQuery in Action, 3rd edition