Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class A
- {
- void one()
- {
- System.out.println("hello");
- }
- }
- class One
- {
- public static void main(String args[])
- {
- new A()
- {
- void five()
- {
- one();
- }
- }.five();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement