Classes and objects are separate but related concepts.
Every object belongs to a class and every class contains
one or more related objects. A Class is static. The
attributes of a class don't change. An Object on the other
hand has a limited lifespan. Objects are created and
eventually destroyed. Also during that lifetime, the
attributes of the object may undergo significant change. A
class is a general concept while objects are the specific
and real instances that embody that concept
Object has states and behaviours. An object is instance of object.Exp:states-colour,name,breed and behaviour-wagging,barking,eating.
A Class is a template/blue print that describes the behaviour of object.
public class Dog
object is a realworld entity which have some proporty and
behabiour.it is a runtime entity in oops.it is a
partitioned area of memory containg data and function to
process the data.
class is a collection of simillar type of objects.it is a
user define datatype
If I'm developing an application that must accomodate
multiple security levels though secure login and my ASP.NET
web appplication is spanned across three web-servers (using
round-robbin load balancing) what would be the best approach
to maintain login-in state for the users?