Welcome to Scribd!
Academic Documents
Professional Documents
Culture Documents
Hobbies & Crafts Documents
Personal Growth Documents
1
{private String wname;
Worker(String s){ wname=s; }void display(){
System.out.println("Worker_name : "+wname);}}