Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Create a Employee object
- Employee e = new Employee(); //This is how we create objects
- e.name = βJasonβ ; //This is how we reference attributes
- String a = e.getName(); //This is how we call methods
- β¦
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement