ASU CSE 110 FINAL JAVA COMPLETE STUDY
GUIDE WITH SOLVED QUESTIONS
◉ In java, functions are called.
Answer: methods
◉ The Java statement counter++ will.
Answer: add 1 to the variable count
◉ To help us collect information from the user through the keyboard
in Java, we use a.
Answer: Scanner
◉ Every Java program consists of at least one.
Answer: class definition
◉ Which of the following are characteristics of the python
programming language.
Answer: compiled
interpreted
,◉ A name defined in an outer scope is also available in all blocks
nested inside that scope.
Answer: True
◉ Operation are things an object.
Answer: does
◉ An object's attributes are implemented as.
Answer: variables
◉ In Java class members are declared with the keyword.
Answer: static
◉ A default constructor takes _____ arguments.
Answer: 0
◉ Java boolean literal values are expressed in all lowercase.
Answer: True
◉ The java expression like the one below will evaluate to ________.
new Bunny("Flopsy", 8).
Answer: an object reference
, ◉ A reference type variable stores a _____________.
Answer: reference
◉ If a reference type variable does not store a reference to an object,
then it stores __________..
Answer: a null reference
◉ All of the Java primitive types are _______..
Answer: value types
◉ The two kinds of types in the Java programming language are
___________..
Answer: value and reference types
◉ The differences between value types and reference types applies
to parameters.
Answer: True
◉ Which of the following would declare an array of integers in Java?.
Answer: int[] my_array;
GUIDE WITH SOLVED QUESTIONS
◉ In java, functions are called.
Answer: methods
◉ The Java statement counter++ will.
Answer: add 1 to the variable count
◉ To help us collect information from the user through the keyboard
in Java, we use a.
Answer: Scanner
◉ Every Java program consists of at least one.
Answer: class definition
◉ Which of the following are characteristics of the python
programming language.
Answer: compiled
interpreted
,◉ A name defined in an outer scope is also available in all blocks
nested inside that scope.
Answer: True
◉ Operation are things an object.
Answer: does
◉ An object's attributes are implemented as.
Answer: variables
◉ In Java class members are declared with the keyword.
Answer: static
◉ A default constructor takes _____ arguments.
Answer: 0
◉ Java boolean literal values are expressed in all lowercase.
Answer: True
◉ The java expression like the one below will evaluate to ________.
new Bunny("Flopsy", 8).
Answer: an object reference
, ◉ A reference type variable stores a _____________.
Answer: reference
◉ If a reference type variable does not store a reference to an object,
then it stores __________..
Answer: a null reference
◉ All of the Java primitive types are _______..
Answer: value types
◉ The two kinds of types in the Java programming language are
___________..
Answer: value and reference types
◉ The differences between value types and reference types applies
to parameters.
Answer: True
◉ Which of the following would declare an array of integers in Java?.
Answer: int[] my_array;