Syvum Home Page

Home > Quiz Games > Java Programming >

Java Programming : Standard API : True or False


Answer the following questions about the Java programming language API (applications programming interface). A knowledge of basic classes in the java.lang, java.awt and java.io packages is recommended.

Formats Info Page Worksheet / Test Paper Quiz Review
Multiple choice

Your Performance  

1.

An instance of class java.awt.Panel cannot be added to another instance of the same class.

  True

  False

 

2.

The expression str.length returns the length (number of characters) contained in str, a String object.

  True

  False

 

3.

The CheckboxGroup class in package java.awt is a subclass of the Component class in the same package.

  True

  False

 

4.

If an instance of the GridLayout class in java.awt package is used as a layout manager for a java.awt.Frame object, then all the components added directly to the Frame object are of the same width and height.

  True

  False

 

5.

Java makes it easy to read floats and doubles by providing methods to accomplish this in its FileReader class in the package java.io.

  True

  False

 

6.

A value must always be assigned to String object when it is created, and cannot be modified later.

  True

  False

 

7.

The System.in and System.out objects are created by default and need not be created explicitly.

  True

  False

 


 
12 more pages in Java Programming


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