This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jxam

 
madhuri vl
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Here is the Q
You get this description of class:
Employee is a person. For every employee, we keep a vector with the working hours , an integer for the salary
and a variable that can be true or false whether or not employee has a company car.
Indicate which of the following would be define the class members.
a) vector
b) Employee
c) Object
d) int
e) boolean
Answers given are only a.
But I think a,d,e. Can anybody claer this.
Thankyou,
Madhuri.
 
bill bozeman
Ranch Hand
Posts: 1070
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you are correct. It should be a,d,e
Bill
 
madhuri vl
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ThankU. Cleared my doubt.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic