200k views
5 votes
Private variables:

A.are accessible only by the class it was defined in.

B.are accessible only by the class it was defined in, and any class derived from that class

C.are accessible outside the class

1 Answer

4 votes

Answer:

A.are accessible only by the class it was defined in.

Step-by-step explanation:

pirate variables are only visible and accessible only inside the class they belong to not outside to any other class or

User Melculetz
by
7.7k points