What is final value in java
//Final class==> //final class cannot be extended(no any subclass can able to inherit it) Example program import java.io.*; final class Shape { void draw() { System.out.println(“Drawing shape..”); } } class Finalmethod { public static void main(String args[]) { Shape obj=new Shape(); obj.draw(); } }