eyda228 0 Report post Posted October 12, 2008 public class StafStud { private String Name,MatricNum, Faculty, Address, City,State, Postcode, PhoneNum; public StafStud(String name, String matricNum, String faculty, String address, String city, String state, String postcode, String phoneNum) { Name = name; MatricNum = matricNum; Faculty = faculty; Address = address; City = city; State = state; Postcode = postcode; PhoneNum = phoneNum; } public String getName() { return Name; } public String getMatricNum() { return MatricNum; } public String getFaculty() { return Faculty; } public String getAddress() { return Address; } public String getCity() { return City; } public String getState() { return State; } public String getPostcode() { return Postcode; } public String getPhoneNum() { return PhoneNum; } } Quote Share this post Link to post Share on other sites