my dog learned polymorphism*
The moose likes Struts and the fly likes how many objects will be created. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how many objects will be created." Watch "how many objects will be created." New topic
Author

how many objects will be created.

Abdul Gafoor
Greenhorn

Joined: Nov 22, 2005
Posts: 11
I have a doubt How many Objects will be created in
this code:

int a[]=new int[10];


and
String ss[]=new String[10];
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8935
    
    9

Please do not post the same question in multiple forums.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
wood burning stoves
 
subject: how many objects will be created.