Solved

objects

Posted on 2000-03-04
14
223 Views
Last Modified: 2010-04-02
Objects of the same class share the values of ________ while they maintain separate values for ________?

Choice 1
 attributes, abstract properties

Choice 2
 class variables, instance variables

Choice 3
 instance variables, static properties

Choice 4
 superclass variables, class variables

Choice 5
 their superclass, their subclasses

Can u please give short description?
0
Comment
Question by:sunraj
  • 7
  • 3
  • 3
  • +1
14 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 2582908
We cannot provide answers to school assignments.  That is grounds for removal from this site.  (for both you and the experts involved.)  We can provide only limitied help in accademic assignments.    We can answer specific (direct) questions, like you might ask your teacher.  We can review your work and post suggestions, again, like your teacher might do.

Do you have specific questions?
Do you have any work on this (incomplete even) that we can review?

IT SEEMS LIKE YOU'VE COPIED YOUR ENTIRE MID-TERM EXAM INTO EE.  IF SO, WE CAN'T HELP YOU AT ALL
0
 

Author Comment

by:sunraj
ID: 2590167
Thanks nieotod....
Let me wait if other experts could give answers...if not I'll accept your comment as answer.

regards
0
 
LVL 22

Expert Comment

by:nietod
ID: 2591658
Now I've been answering you questions because you claimed it wasn't for an exam and you came across these issuea as you were reading.

But that cannot be true.  If you don't know the material you cannot write a question like this.  

I am willing to discuss this with you but I cannot give you further answers.  
What are your thoughts on it.
0
 
LVL 1

Accepted Solution

by:
pepenieto earned 5 total points
ID: 2595679
The correct answer is the choice 2. A class variable is an attribute that share all the instances of that class. They are declared as "static", and the are usefull, for example, to have a count of the instances created of a singleton class.
An instance variable is a normal attribute, and each class have their own attributes.
0
 
LVL 22

Expert Comment

by:nietod
ID: 2595761
pepenieto, did you read the question history?  Do you understand what is going on?
0
 
LVL 1

Expert Comment

by:pepenieto
ID: 2595860
nietod, I can´t understand what you want say to me. I´ll hope you forgive my poor level of english, but it´s not my mother language.
If I´m violating any rule, I hope you tell me why, because I think that sunraj is making questions and he hopes any answer from anybody, and I think that my answer could help. I´m sorry if I´m violating anything. Thanks.
0
 
LVL 22

Expert Comment

by:nietod
ID: 2596227
The problem is that these questions are probably homework (schoolwork, accademic work).  In other words, he may be trying to cheat.

For these questions we only provide assistance, like a teacher would do.  In other words give _small_ suggestions or tips.  We don't give them complete answers.  Then if they still need more help, we give them ore help.

If think about this question you will understand that it has to be a homwork or exam type question.  The question itself had to be written by someone who knew the answer, because the correct answer is there along with 4 other incorrect answers.  So someone who knew the answer wrote the question and sunraj, was supposed to answer it.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 22

Expert Comment

by:nietod
ID: 2596236
pepenieto, you might want to spend a day or two just reading questions to see how the site "operates" before you actually start answering.
0
 
LVL 1

Expert Comment

by:pepenieto
ID: 2596283
nietod, thanks for starting me in EE. I understand.
0
 
LVL 5

Expert Comment

by:mbormann
ID: 2612120
hey I commented on this Guy's other question at soemthing else and then I clicked on his question history.

It's a shame to ask School boyish questions here,stop it as soon as u reach college.

nietod,
I also feel very strongly against this.
0
 
LVL 22

Expert Comment

by:nietod
ID: 2612178
Why wait for college?  Stop now.  
0
 
LVL 5

Expert Comment

by:mbormann
ID: 2612223
Yeah ,
btw I do think that u have the powers to stop these guys,dont u?
:)
0
 
LVL 22

Expert Comment

by:nietod
ID: 2612264
Not me.  But we can post a request to customer service and they will take necessary action, perhaps closing the account.

Usually it is not necessary, as most poeple would rather take the ofer of free _assistance_ rather than not getting the answer.
0
 
LVL 5

Expert Comment

by:mbormann
ID: 2612296
:)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
cb: unreferenced local variable 11 72
How to copy an image file into clipboard C/C++? 1 152
Create a path if not exists 7 69
c++, dynamic object by json 1 22
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now