Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MainClass
- {
- // instance variables - replace the example below with your own
- public static void main(String[] args)
- {
- MyClass t = new MyClass(0);
- t.info();
- t.info("overloaded method");
- new MyClass();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement