Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
innerclss
class Rextester { private int a=5; void test () { Inner inner=new Inner(); inner.display(); } class Inner { int b=10; void display () { System.out.println("a="+a); }} class Innerclassdemo { public static void main(String args[]) { Rextester outer=new Rextester(); outer.test(); } }}
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Problem: rstring
http://stackoverflow.com/questions/23175927/how-to-clone-object-defined-by-interface
Switch case example
single_digit
JAVA sidebar pattern match
191fa07131
jb14.0 tests
binary
Problem: fb_series
Instance fields are no overridden
Please log in to post a comment.