Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Test
- {
- public Test()
- {
- System.out.printf("1");
- new Test(10);
- System.out.printf("5");
- }
- public Test(int temp)
- {
- System.out.printf("2");
- new Test(10, 20);
- System.out.printf("4");
- }
- public Test(int data, int temp)
- {
- System.out.printf("3");
- }
- public static void main(String[] args)
- {
- Test obj = new Test();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement