ArrayList<ArrayList<Integer>> listofLists=new ArrayList<ArrayList<Integer>>();
ArrayList<Integer> singleLists=new ArrayList<Integer>();
singleLists.add(1);
singleLists.add(2);
...
Type: Posts; User: indla
ArrayList<ArrayList<Integer>> listofLists=new ArrayList<ArrayList<Integer>>();
ArrayList<Integer> singleLists=new ArrayList<Integer>();
singleLists.add(1);
singleLists.add(2);
...
Hii,
1.define the variable with protected or public in Menu.java.
2.Extend the Menu.java class in NumScreen.java.
3.use what ever variables u want from Menu.java by super.variable in NumScreen....
1Interface is the concept of encapsulation
– The implementation can change without affecting the caller of the interface
– The caller does not need the implementation at the compile time
● It...