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.

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

 

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 System.in and System.out objects are created by default and need not be created explicitly.

  True

  False

 

4.

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

  True

  False

 

5.

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

 

6.

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

  True

  False

 

7.

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

 


 
12 more pages in Java Programming


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