How to print to specify a method?
000xiaoxiao000 opened this issue · 1 comments
000xiaoxiao000 commented
Nikityyy commented
public class HelloWorld
{
public static boolean hello1(boolean b) {
if(b) {
System.out.println("1");
System.out.println("2");
System.out.println("3");
}
return false;
}
public static void main(String[] args) {
hello1(true);
}
}
Dont know if thats what u want