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

What is entity sql? : Entity framework

0 Answers  


Where does web.config info stored? Will this be stored in the registry ?

1 Answers   Accenture, BirlaSoft,


What are Action Methods in ASP.NET MVC?

0 Answers  


Does the .NET Framework have in-built support for serialization?

2 Answers  


Why is entity framework used?

0 Answers  


Does .NET Framework support SAX?

0 Answers   Wipro,


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

0 Answers  


How can we determine action invoked from HTTP GET or HTTP POST?

0 Answers  


Why is XmlSerializer so slow

1 Answers  


When was .NET announced

1 Answers  


How does work clr?

0 Answers  


What is shadowing?

6 Answers   IBM,


Categories