Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Helper
- {
- private int data;
- private Helper()
- {
- data = 5;
- }
- }
- public class Test
- {
- public static void main(String[] args)
- {
- Helper help = new Helper();
- System.out.println(help.data);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement