Untitled

 avatar
unknown
plain_text
3 years ago
214 B
5
Indexable
public class One {
  public static boolean go( int num )
  {
    if( num > 10 )
      return true;
    return false;
  }
}
//code in another class
System.out.println( One.go(12) );
System.out.println( One.go(7) );
Editor is loading...