class A { static int b =10;// static int c=20;//Instance public static void main(String[] args) { int a=30;//Local System.out.println(a);//local System.out.println(A.b);//static A r= new A(); System.out.println(r.c);//Instace } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter