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

i have done enough testing in life but now stated developing intereset in development work,Can i think of entering into development work that too in >Net after more then 4 years of testing experiece?

0 Answers  


what is complex type?

0 Answers   Microsoft,


How you can implement custom validation in asp.net MVC?

0 Answers  


Is it possible to unit test an mvc application without running the controllers in an asp.net process?

0 Answers  


What is net framework 3.0 ?

0 Answers  


What is meant by viewdata?

0 Answers  


What is the use of the default route?

0 Answers  


how to maintain the session state? what is Abstract class and interface and inheritence with example?

2 Answers  


What is entitycontainer? : Entity framework

0 Answers  


Is entity framework slow?

0 Answers  


How does the .net framework 3.0 relate to the .net framework 2.0?

0 Answers  


List the new features added in .net framework 4.0.

0 Answers  


Categories