Advertisement
koksibg

1.Employee Data

Oct 25th, 2016
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.62 KB | None | 0 0
  1.  
  2. public class EmployeeData
  3. {
  4.     public static void main(String[] args)
  5.     {
  6.         String firstName = "Amanda";
  7.         String lastName = "Jonson";
  8.         byte age = 27;
  9.         char gender = 'f';
  10.         long idNumber = 8306112507L;
  11.         int uniqueEmpNumber = 27563571;
  12.         System.out.println("First name: " + firstName);
  13.         System.out.println("Last name: " + lastName);
  14.         System.out.println("Age: " + age);
  15.         System.out.println("Gender: " + gender);
  16.         System.out.println("Personal ID: " + idNumber);
  17.         System.out.println("Unique Employee number: " + uniqueEmpNumber);
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement