Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1.  
  2.  
  3. package chapter11_1;
  4.  
  5.  
  6. public class Person {
  7.  
  8.     String name;
  9.     int age;
  10.  
  11.    
  12.     /*
  13.      * Answer to 8.12  begins here
  14.      */
  15.     public Person(String name, int age){
  16.        
  17.     }
  18.    public Person (){
  19.        this("",-1);
  20.    } //ends here
  21.    
  22.  
  23.  
  24.  
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement