A class member that is to be shared among all objects of a class is called

a) A const member
b) A reference member
c) A static member.
d) A value member
e) A function member

c) A static member.

Computer Science & Information Technology

You might also like to view...

Suppose a class Planet had a method findLife( ) that we call as follows in main( ):

int value = p.findLife(“goat”, true, 0.5); How would the findLife( ) method be declared in Planet.java?

Computer Science & Information Technology

Why do we use the enumeration type?

What will be an ideal response?

Computer Science & Information Technology