Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Admin extends User {
- public Admin() {
- size = 12;
- }
- }
- public class User {
- public final int size;
- public User() {
- size = 10;
- }
- protected int getSize() {
- return size;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement