Welcome! Log In Create A New Profile

Advanced

question 8.4

Posted by 34435360 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
question 8.4
August 02, 2006 07:20AM
Hi guys

please help, i'm unsure of what is needed in question 8.4 - what exactly does "build indices" translate to?

also, i have a problem with the address class - i have it defined as:

-----------------------
public class Customer {
//public constructors
public Customer() {};
.
.
.
//nonpublic auxiliary methods or nested classes
public class Address {
public Address(){};
String street;
String city;
String state;
String country;
int postalcode;
}
}
----------------------

and then get an error "an enclosing instance that contains Customer.Address is required" when trying to instantiate address as:

Customer.Address add = new Customer.Address();
Sorry, only registered users may post in this forum.

Click here to login