Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package lab;
- class Employee{
- void output(){
- System.out.println("a.\tName Year of joining Address");
- System.out.println("b.\tRobert 1994 64C- WallsStreat");
- System.out.println("c.\tSam 2000 68D- WallsStreat");
- System.out.println("d.\tJohn 1999 26B- WallsStreat");
- }
- }
- public class objem {
- public static void main(String[] args) {
- Employee info=new Employee();
- info.output();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement