Java Interview Question
Java Interview Questions: Difference between final finally and finalize() Final : final is modifier is applicable for classes methods and the variables. Ã If we declared variable as final then it will become constants. Ã if we declared method as final. In child class we can’t override this method. Ã if we declared class as final then we can’t extends( inherited ) this class. //If we declared variable as final then it will become constants. public class ...