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

How we can add the CSS in ASP.Net MVC?

0 Answers  


what are background threads? give ex?

3 Answers   CSC, Kanbay,


Explain .Net Framework? Why we use it?

0 Answers   MaxSolPro,


What is the meaning of unobtrusive javascript? Explain us by any practical example.

0 Answers  


How to use Jquery Plugins in ASP.Net MVC validation?

0 Answers  


How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?

0 Answers  


Explain the use of Inversion of control (IOC)?

0 Answers  


What is objectset? : Entity framework

0 Answers  


How the framework differentiate between 2 version dlls? eg Version 2.0 and 2.1 dlls are there. both are referred in the code.but we are using only name of that dll not the version number. in run time how the framework know which dll has to be referred?

1 Answers   Deloitte,


Can we look at the IL for an assembly?

2 Answers  


What is route config?

0 Answers  


mention what is code first approach and model first approach in entity framework?

0 Answers   Microsoft,


Categories