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

  True

  False

 

3.

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

  True

  False

 

4.

An instance of the java.io.File class can be used to delete a file.

  True

  False

 

5.

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

  True

  False

 

6.

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

 

7.

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

 


 
12 more pages in Java Programming


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