Assume you have an 'employee' class with a non-static attribute named salary. If you create 10 objects

Question:

Assume you have an 'employee' class with a non-static attribute named salary. If you create 10 objects of this class, how many copies of the salary variable will you have?

(a) 2

(b) 10

(c) An unlimited number

(d) None of the above

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: