Question: which statement is true?and why are the other statements wrong? A . Class variables are shared among all instances of a class that are defined
which statement is true?and why are the other statements wrong? AClass variables are shared among all instances of a class that are defined in the same main function.BAn instance variable is shared among each instance of a class that is defined in another program.CInstance variables are usually accessed directly from outside the class containing them.DIncorrect ResponseClass variables can never be accessed outside of the class itself.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
