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