public class lab21 { final int x=10; public static void main(String args[]) { lab21 obj =new lab21(); obj.x=12; System.out.println(obj.x); } }
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