Variable info is declared inside of a class called Thing Whi

Variable info is declared inside of a class called Thing. Which of the following makes info accessible onlywithin class Thing?

Select one:

private int info;

int info;

protected int info;

default int info;

public int info;

Solution

ANSWER :

private int info

A private member, can only be accessed from inside the same class,

Variable info is declared inside of a class called Thing. Which of the following makes info accessible onlywithin class Thing? Select one: private int info; int

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site