• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

when costructor is call

 
Prem
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1932
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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".
Thanks!
Jason
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic