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.

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

 

2.

The BorderLayout class in java.awt is intended mainly to allow decorative borders to be laid out around graphic components.

  True

  False

 

3.

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

  True

  False

 

4.

As a part of the standard API, Java provides a class called Directory in the package java.io which enables the listing of the contents of a directory.

  True

  False

 

5.

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

  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 expression str.length returns the length (number of characters) contained in str, a String object.

  True

  False

 


 
12 more pages in Java Programming


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