Skip to content

Instantly share code, notes, and snippets.

@edinak1
Created December 20, 2016 21:09
Show Gist options
  • Save edinak1/a389d60c9f3e830c4ba9a337f0e022fb to your computer and use it in GitHub Desktop.
Save edinak1/a389d60c9f3e830c4ba9a337f0e022fb to your computer and use it in GitHub Desktop.
package tank;
public class Tanki {
public static void main(String[] args) {
}
public static class A{
B []b;
public A(int n){
b= new B[n];
}
}
public static class B{
C []c;
public B(int n){
c=new C[n];
}
}
public static class C{
A[] a;
public C(int n){
a=new A[n];
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment