Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the use of final method

Answers were Sorted based on User's Feedback



what is the use of final method..

Answer / the

we can`t change the value of particular varriable

Is This Answer Correct ?    13 Yes 2 No

what is the use of final method..

Answer / kusuma

Final method can't be override in a sub class

Is This Answer Correct ?    6 Yes 0 No

what is the use of final method..

Answer / sudhir sheoran

First of all sealed in c# is equivalent to final in java.

Sealed is used to stop further overriding an abstract method.

E.g:

public abstract class A
{
public abstract void print();
}

public class B:A
{
public sealed override void print()
{
Console.WriteLine("First override");
}
}

public class C:B
{
public override void print() //This will give compilation error.
{
Console.WriteLine("Second override");
}
}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

Will c# 3.0, vb.net 9.0, atlas, or linq be included in the .net framework 3.0?

0 Answers  


If Controller is not there in MVC Pattern what happens?

2 Answers  


if u add an import stmt to an application u can do the same by adding reference to the apllication then what is the diff bet these two ?

1 Answers  


What is difference between viewbag and viewdata and tempdata?

0 Answers  


What is layout in mvc?

0 Answers  


What is a view engine?

0 Answers  


Is the following route definition a valid route definition? {controller}{action}/{id}

0 Answers   NA,


What are ajax helpers in asp.net mvc?

0 Answers  


How to change the action name in ASP.Net MVC?

0 Answers  


Explain something about model, view and controllers in asp.net mvc?

0 Answers  


Is the lack of deterministic destruction in .NET a problem

1 Answers  


what is MetadData?. What is CTS? Type of Join in SQL Server? What is diffrence between Primary Key and Unique Key?

7 Answers   FutureSoft,


Categories