Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class A {
- private int a;
- public A (int a){
- this.a = a;
- }
- public int getA(){
- return this.a ;
- }
- public int add(A a){
- return this.a + a.getA();
- }
- public int m(){
- return 1;
- }
- public int n(){
- return this.m();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment