Thursday, January 9, 2014

Final

final variable in Java : final variable like constant.


public final double PI =3.145


final method in Java : final method can’t be override in subclass.

final class in Java : final class can’t be extended. It just like seal in .net

No comments:

Followers

Link