Solved

Which of the Following Declares a SideLength Instance Variable for a Square

Question 96

Multiple Choice

Which of the following declares a sideLength instance variable for a Square class that stores an integer value?


A) private integer sideLength;
B) private int sideLength;
C) public integer sideLength;
D) public static int sideLength;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions