Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How Many Objects Are Created?

 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

How many objects are created in above piece of code
According to me there are 5 objects created as follows



Thanks
 
Aum Tao
Ranch Hand
Posts: 210
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How many objects are created in the above code?

I think, you forgot t in Test14 t = new Test14();
[ July 29, 2006: Message edited by: Aum Tao ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic