Question
Consider TV gameroom; String favProgram = Twilight Zone; int sophie = 5; Which of the following are reference variables? (Note that this is a multiple
Consider TV gameroom; String favProgram = "Twilight Zone"; int sophie = 5; Which of the following are reference variables? (Note that this is a multiple answer question.) | |
Question 2
Consider TV livingRoom = null; TV den; new TV(); den = new TV(); Enter the line number where den is declared. Enter x if there is no such line. | |||
|
Question 3
Consider TV livingRoom = null; TV den; new TV(); den = new TV(); Enter the first line number in which an object refence is assigned to a variable. Enter x if there is no such line. | |||
|
Question 4
Consider TV livingRoom = null; TV den; new TV(); den = new TV(); livingRoom = new TV(); Write a statement that calls a method to increase the volume of the den's TV. (Use no spaces in your answer.) | |||||
|
Question 5
A class is to an object as | |||||
|
Question 6
What operator creates an object? | |||||
|
Question 7
Constructors differ from other methods in that they | |||||
|
Question 8
Consider Date today; today = new Date(); Date tomorrow; tomorrow = today; Which of the following is correct? | |||||
|
Question 9
Consider TV gameroom; String favProgram = "Twilight Zone"; int sophie = 5; Which of the following are data types? (Note that this is a multiple answer question.) | |||||
Question 10
Consider TV livingRoom = null; TV den; new TV(); den = new TV(); Enter the line number of the first creation of an object. Enter x if there is no such line. | |||||
Question 11
Consider TV gameroom; String favProgram = "Twilight Zone"; int sophie = 5; Which of the following variables are declared as a primitive type? (Note that this is a multiple answer question.) | |||||
|
Question 12
Consider TV gameroom; String favProgram = "Twilight Zone"; int sophie = 5; Which of the following are correct? (Note that this is a multiple answer question.) | |||||||||
|
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started