hi,
1)final methods are not overridden.
2)A final class makes all of its methods final as well.
1) is understood.
2)is this implicit to us, pls let me know what it really means. i have written to myself a program in which class is final and it has a non-final method, if the 2) is right, how will i now that method a() became final.
Eg. Of final classes : Integer,Float,Long,Double,
String in java.lang
Integer is a final class in java.lang, but i see its some of its method, they are not final..
public static int parseInt(String s,
int radix)
throws NumberFormatException
public byte byteValue()
public int hashCode()