Question: Please answer these java question with explanations: Question 5 (3 points) What is an instance variable? A global variable that is shared by all instances
Please answer these java question with explanations:

Question 5 (3 points) What is an instance variable? A global variable that is shared by all instances of a class. An instance of a class. A data member of a class that is part of the blueprint for each object of that class. Question 6 (3 points) Saved Marking instance variables as private is a form of: Data hiding Encapsulation Inheritance Question 7 (3 points) The packaging of data along with the methods that apply to it is: Data hiding Inheritance Encapsulation Question 8 (3 points) Saved What is an object? An instance variable of a class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
