GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Concepts  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 42 of 64    Print  
what are the differences between class anad object?

  
Total Answers and Comments: 1 Last Update: May 02, 2007     Asked by: dhanasweet 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 02, 2007 18:15:28   #1  
joel Member Since: May 2006   Contribution: 101    

RE: what are the differences between class anad object...
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.
 
Is this answer useful? Yes | No

 Related Questions

OOP is the common abbreviation for Object-Oriented Programming.   
Latest Answer : OOPS is a style of programming where the code and data are bound together in objects, whose structures are based on class hierarchies. ...
Tags : OOPS

Inheritance is the process by which one object acquires the properties of another object.  
Latest Answer : Inheritance involves building upon an existing class so that additional or more-specialised functionality is added.A key design aspect of inheritance is that it is used in a manner which is understandable and supported by a clear, justifiable relationship. ...

Latest Answer : WELL DESIGNED MODULES ALWAYS HIDES ALL OF ITS IMPLEMENTAIONS DETAILS. MODULES THEN COMMUNICATE WITH EACH OTHER ONLY THROUGH API's UNKNOW TO EACH OTHER INNER IMPLEMENTATIONSPROPER USE OF ACCESS MODIFIERS (PRIVATE,PUBLIC,PROTECTED) IS MUST FOR INFORMATION ...
Read Answers (6) | Asked by : harsha

Latest Answer : persistence for permanenet storage, transient for temporary storage, ...
Read Answers (3) | Asked by : prathibha
Tags : OOPS

Can we create a object of Base class?..If we can not create a object of base class then why we need Abstract class?
Read Answers (5) | Asked by : abhishek
Tags : Abstract

Latest Answer : Actually size of class having no variable but only 1 function is determined by the variables size declared in that fuction. So the size of the class will be the total size of variables which have been declared in that member function. ...
Read Answers (4) | Asked by : anamika

Latest Answer : For more explanation, you can see in my  previous answer that we can inherit, but we can not access it from the derived class. ...
Read Answers (7) | Asked by : Anjaly

Latest Answer : A class is an Abstract Datatype which, when instantiated, sets aside memory which holds data in fields and references to the instructions for methods.An instance of a Class is a section of heap memory set aside, using the class's template, to hold ...

Latest Answer : Server container will call the callback methods like init() etc.. throught which the servlet object is constructed ...
Read Answers (1) | Asked by : prashant

Latest Answer : This is method of thinking to resolve the problem ( implimenting the applicaiton using software languages).             - POP : Procedure thinking   ( modular approach of solve the problem)         -OOP : Object Thinking ( object ...
Read Answers (4) | Asked by : Manpreet Kaur


 Sponsored Links

 
Related Articles

ODP.NET - OracleCommand Object

ODP NET More About the OracleCommand Object Till now we have seen OracleCommand working with OracleDataReader OracleCommand is not simply meant for OracleDataReader It has got a lot of functionality for itself Let us see few of the most commonly used features of OracleCommand in this section We will
 

Microsoft AJAX Library - Creating Object Members on the Fly

Creating Object Members on the Fly One major difference between OOP in C and ASP NET and OOP in JavaScript is that JavaScript allows creating object members on the fly" This is true for objects and classes that you create yourself and also for JavaScript s own objects and types as well He
 

Microsoft AJAX Library - Object-Oriented JavaScript

Object Oriented JavaScript Objects and classes are implemented differently in JavaScript than in languages such as C VB NET Java or C However when it comes to using them you ll feel on familiar ground You create objects using the new operator and you call their methods or access their fields using t
 

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

OOPS Tutorials

Object oriented programming OOP is a computer science term used to characterize a programming language that began development in the 1960’ s The term object oriented programming’ was originally coined by Xerox PARC to designate a computer application that describes the methodol
 

C++ Pure Virtual Function and Base Class

C Pure Virtual Function and Virtual Base Class In this C tutorial you will learn about pure virtual function declaration of pure virtual function and virtual base class virtual base class and how to implement a virtual base class explained with examples mosgoogle center What is Pure Virtual Function
 

SOA Concepts

SOA Concepts Today the concept of Service Oriented Architecture has become ubiquitous Evidence from recent years establish that SOA is not just about hype but a part of every major Business environment The truth is Service Oriented Architecture can be beneficial to Business only when it is utilized
 

How to Access C++ Class Members

How to Access C Class Members In this C tutorial you will learn how to access Class members dot operator or class member access operator difference between struct and class and  scope resolution operator mosgoogle center It is possible to access the class members after a class is defined an
 

Object-Oriented Client-Server Internet

Object Oriented Client Server Internet OCSI Environments as IT Infrastructure Client Server Basics Object Oriented Client Server Internet OCSI environments provide the IT infrastructure for supporting OCSI applications For our purposes infrastructure refers to operating systems networks middleware
 

JavaScript String Object

JavaScript String Object In this JavaScript tutorial you will learn about String Object purpose of string object in JavaScript purpose of string object indexof method lastIndexOf method and substring method along with syntax and example mosgoogle center Purpose of String Object in JavaScript The mai
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape