Advertisement
sounny

Untitled

Jun 21st, 2018
547
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.21 KB | None | 0 0
  1. ## Create a Employee object
  2. Employee e = new Employee(); //This is how we create objects
  3. e.name = β€œJason” ; //This is how we reference attributes
  4. String a = e.getName(); //This is how we call methods
  5. …
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement