Syvum Home Page

Home > Quiz Games > Java Programming >

Java Programming : Language Basics : True or False


Answer the following questions about basics of the Java programming language. These include concepts like operators, variables, declarations, basic language structures such as if, for, switch, etc.

Formats Info Page Worksheet / Test Paper Quiz Review
Multiple choice

Your Performance  

1.

The modulus operator (%) in Java can be used only with variables of integer type.

  True

  False

 

2.

An individual array element from an array of type int, when passed to a method is passed by value.

  True

  False

 

3.

The "switch" selection structure must end with the default case.

  True

  False

 

4.

All bitwise operations are carried out with the same level of precedence in Java.

  True

  False

 

5.

Objects of a subclass can be assigned to a super class reference.

  True

  False

 

6.

An array in the Java programming language has the ability to store many different types of values.

  True

  False

 

7.

Declarations must appear at the start of the body of a Java method.

  True

  False

 


 
12 more pages in Java Programming


Contact Info © 1999-2021 Syvum Technologies Inc. Privacy Policy Disclaimer and Copyright
Previous
-
Next
-