Showing posts with label OOPS. Show all posts
Showing posts with label OOPS. Show all posts

Thursday, January 15, 2009

What is the relation between Classes and Objects

0 comments
Our old article based on OOPS show you detail about class and object, now there is a big relationship between class and object.
They look very much same but are not same. Class is a definition, while object is a instance of the class created. Class is a blue print while objects are actual objects existing in real world. Example we have class CAR which has attributes and methods like Speed, Brakes, Type of Car etc. Class CAR is just a prototype, now we can create real time objects which can be used to provide functionality.
Example we can create a TATA car object with 100 km speed and urgent brakes.
Suggested reading in OOPS

Tuesday, January 13, 2009

What’s an Object

0 comments
Object is a basic unit of a system. An object is an entity that has attributes, behavior, and identity. Objects are members of a class. Attributes and behavior of an object are defined by the class definition.
The object type is an alias for System.Object in the .NET Framework. You can assign values of any type to variables of type object.
Suggested reading OOPS

Tuesday, January 6, 2009

What is a Class

0 comments
A class describes all the attributes of objects, as well as the methods that implement the behavior of member objects. It’s a comprehensive data type which represents a blue print of objects. It’s a template of object.

A class is simply a representation of a type of object; think of it as a blueprint that describes the object. Just as a single blueprint can be used to build multiple buildings, a class can be used to create multiple copies of an object.

A class is the core of any modern Object Oriented Programming language such as C#; most of the time, you will be writing classes. If you have a background in C or C++, many class aspects are similar, but some are different. For example, C# doesn't permit functions to exist outside the class declaration like C++; also, C# use the .NET Framework Class Library, so you have access to thousands more functions than the class libraries available to C++.

More detail about class please knock MSDN.

Friday, January 2, 2009

What is Object Oriented Programming

0 comments
Hello friends here is little bit definition of Object Oriented Programming, this is a series of Object Oriented Programming we just started for you.
It is a problem solving technique to develop software systems. It is a technique to think real world in terms of objects. Object maps the software model to real world concept.

These objects have responsibilities and provide services to application or other objects.
 

Copyright 2009 All Rights Reserved Shakti Singh Dulawat