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...

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

Answer Posted / anitha

Session object can be used for storing session-specific
information that needs to be maintained between server
round trips and between requests for pages.various modes of
storing ASP.NET session is:InProc,StateServer,and SQL
SERVER state.

Abstract classes provide a simple and easy way to
version your components. By updating the base class, all
inheriting classes are automatically updated with the
change. Interfaces, on the other hand, cannot be changed
once created. If a new version of an interface is required,
you must create a whole new interface.
If we want to provide common, implemented
functionality among all implementations of your component,
use an abstract class. Abstract classes allow you to
partially implement your class, whereas interfaces contain
no implementation for any members.

Inheritance is getting properties from parent class
to child class.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why should we go for entity framework?

1058


Explain how you can implement Ajax in MVC?

1062


Why to use Html.Partial in ASP.Net MVC?

1176


Mention two instances where routing is not implemented or required?

1272


Explain Sections is ASP.Net MVC?

1185


Is it possible to create a custom filter?

1042


What is the .net framework and how does it work?

1019


What is clr? How does work clr & wht is work of clr?

1093


What is mvc entity framework?

1022


Explain peek method in tempdata in asp.net mvc?

1164


What are the 2 ways of adding constraints to a route?

1050


What are Model Binders in ASP.Net MVC?

1364


Where are the routing rules defined in an asp.net mvc application?

1105


What does mvvm mean?

1014


What are the two ways to add constraints to a route?

1027