Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
214 B
1
Indexable
Never
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) );