View Single Post
  #9 (permalink)  
Old 05-05-2008, 05:22 AM
ubermeister ubermeister is offline
Member
 
Join Date: May 2008
Posts: 12
ubermeister is on a distinguished road
Quote:
Originally Posted by Eranga View Post
Ah, you asking how to call that function on an employee object.

Code:
public static void main(String[] args) { EmployeeClass s1= new EmployeeClass(); s1.display(); EmployeeClass s2= new EmployeeClass("MARY",1111,7500); s2.display(); EmployeeClass s3 = new EmployeeClass(); s3.getdata(); s3.display(); }
yes!!! ty ty now how do you redisplay employee1 data
Reply With Quote