import java.io.*;
public class test
{
class ttt{
public void t2(){
t1();
}
}
public static void t1(){
System.out.println("t1");
}
public static void main(String args[]) throws IOException{
new test().new ttt().t2();
}
}
public class test
{
class ttt{
public void t2(){
t1();
}
}
public static void t1(){
System.out.println("t1");
}
public static void main(String args[]) throws IOException{
new test().new ttt().t2();
}
}
public class test
{
class ttt{
public void t2(){
t1();
}
}
public void t1(){
System.out.println("t1");
}
public static void main(String args[]) throws IOException{
new test().new ttt().t2();
}
}
也是可以的。