The data, or variables, defined within a class are called _______ variables

A) Object
B) Class
C) Instance
D) None of the above

Showing Answers 1 - 35 of 35 Answers

Prabin

  • Dec 31st, 2005
 

Class variables

  Was this answer useful?  Yes

JaiBharath

  • Aug 9th, 2007
 

how can u judge any one of those options cause if u use static they will be "Class vars" othere wise it can be "instance vars". So the question must be some more specific.

  Was this answer useful?  Yes

sneh lata

  • Sep 15th, 2007
 

data, or variables, defined within a class are the fields of a class.
if it is declared with static keyword then we can call it class variable.
if it is declared within the braces of any method defined in class then we will call it local variable.
if it is declare outside of method but inside of a class then we will call it instance variable.

  Was this answer useful?  Yes

sarthak1

  • Nov 21st, 2008
 

The answer can also be instance variables as they are also defined inside a class althought they can belong to objects in particular.

  Was this answer useful?  Yes

Shakti

  • Jul 21st, 2011
 

Instance variables

  Was this answer useful?  Yes

Dharmendra Kumar

  • Jul 2nd, 2017
 

c) Instance

  Was this answer useful?  Yes

Drishti Baranwal

  • Sep 14th, 2018
 

Instance

  Was this answer useful?  Yes

balasaheb garule

  • Apr 10th, 2019
 

Data members

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions