Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 15:01, 3 May 2007.

Class

From Forum Nokia Wiki

Classes are data types based on which objects are created.


Objects with similar properties and methods are grouped together to form a Class. Thus a Class represent a set of individual objects. Characteristics of an object are represented in a class as Properties. The actions that can be performed by objects becomes functions of the class and is referred to as Methods.

For example consider we have a Class of Cars under which Santro Xing, Alto and WaganR represents individual Objects. In this context each Car Object will have its own, Model, Year of Manufacture, Colour, Top Speed, Engine Power etc., which form Properties of the Car class and the associated actions i.e., object functions like Start, Move, Stop form the Methods of Car Class.

No memory is allocated when a class is created. Memory is allocated only when an object is created, i.e., when an instance of a class is created.


Related Discussions
Thread Thread Starter Forum Replies Last Post
About CPbkSingleItemFetchDlg allyfeng General Symbian C++ 2 2005-01-18 15:30
Low Memory Startup Problem grao General Symbian C++ 2 2004-11-15 14:45
how we can destroy the object arumilli General Symbian C++ 7 2008-06-30 09:57
CPbkSingleItemFetchDlg dhirendra_1980 General Symbian C++ 1 2005-01-18 15:31
is it possible to implement two CActive class in one Application? Tanya General Symbian C++ 20 2007-10-13 09:29
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX