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

Explain .Net Framework? Why we use it?

0 Answers   MaxSolPro,


Explain bundle.config in mvc4?

0 Answers  


What is the 'page life cycle' of an ASP.NET MVC?

0 Answers   NA,


What is the importance of NonActionAttribute?

0 Answers  


what is the additional features in 1.1 rather than 1.0

1 Answers  


what is a round trip?What is a postback?

4 Answers   Bosch, ONOTech,


Is any files are generated,when we are adding the web reference to the web service?

1 Answers  


How can I stop my code being reverse-engineered from IL

1 Answers  


What is tempdata?

0 Answers  


How can you prevent your class to be inherated further

1 Answers  


What is the difference between viewbag and viewdata in mvc?

0 Answers  


Explain the 'page lifecycle' of an ASP.NET MVC?

0 Answers  


Categories