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
Visit the blog for .Net FAQ,.Net interview questions,ASP .Net FAQ, C# .Net FAQ,ASP .Net interview questions, interview question on .Net, interview questions on C#.
No comments:
Post a Comment