Home arrow static arrow Java Programming [Archive] - Class Object array!!! HELP
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - Class Object array!!! HELP
This topic has 2 replies on 1 page.

Posts:185
Registered: 4/23/04
Class Object array!!! HELP  
Aug 6, 2004 8:58 AM



 
Customer[] C = new Customer[100]; // Trying to call a constructor from an object of a class CustomersC[1].("01", Tom Evans", 6500,"36 Lakes st ", "05/07/2004", 900); // it want let me do this !!! :(


Please tell me what are my alternatives appart from calling every single getter and setter.

 

Posts:105
Registered: 6/8/04
Re: Class Object array!!! HELP  
Aug 6, 2004 9:03 AM (reply 1 of 2)



 
C[1] = new Customer(<params>);
 

Posts:185
Registered: 4/23/04
Re: Class Object array!!! HELP  
Aug 6, 2004 9:05 AM (reply 2 of 2)



 
Thanks for that :) silly me
 
This topic has 2 replies on 1 page.