Advertisement
spiny94

Untitled

Sep 3rd, 2015
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1. package facebook;
  2.  
  3. public class Person implements Comparable<Person> {
  4.  
  5.     private String code;
  6.     private String name;
  7.     private String surname;
  8.  
  9.  
  10.    
  11.     public Person(String code, String name, String surname) {
  12.         this.code=code;
  13.         this.name=name;
  14.         this.surname=surname;// TODO Auto-generated constructor stub
  15.     }
  16.  
  17.     public String getCode() {
  18.         return code;
  19.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement