Advertisement
nawamkihafahd

Untitled

Oct 12th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. public class MainClass
  2. {
  3. // instance variables - replace the example below with your own
  4. public static void main(String[] args)
  5. {
  6. MyClass t = new MyClass(0);
  7. t.info();
  8. t.info("overloaded method");
  9. new MyClass();
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement