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 the difference between the value-type variables and reference-type variables in terms of garbage collection ?

1 Answers  


Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?

0 Answers  


Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )

0 Answers   NNN,


Which is the base class for .net Class library?

12 Answers   Sonata, TCS,


What is a serverside technology? what is a clientside technology? what is a clientserver technology? what is a internet based application? what is a intranet based application? what is a windows application? what is a console application? Difference between console application and windows application?

4 Answers   IBM,


What is difference between viewbag and viewdata and tempdata?

0 Answers  


What is inline schema, how does it works

1 Answers  


Httpcontext objects?

2 Answers   HACL, HP,


Explain the advantages and disadvantages of ASP.Net MVC over ASP.NET?

0 Answers  


How does CAS work

1 Answers  


What is .net architecture and framework?

0 Answers  


If background completes its processing will it wait for foreground threads?

2 Answers   Kanbay,


Categories