Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package chapter11_1;
- public class Person {
- String name;
- int age;
- /*
- * Answer to 8.12 begins here
- */
- public Person(String name, int age){
- }
- public Person (){
- this("",-1);
- } //ends here
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement