Shared Flashcard Set

Details

Java OCJA
OCJA
23
Computer Science
Professional
12/14/2012

Additional Computer Science Flashcards

 


 

Cards

Term
Which of the given statements are true about swing? 
Definition



Swing has more components than AWT


Button and panel components are included in swing

Term
Which of the given statements are true about applets? 
Definition

They can contain validation logic.


They can contain swing components. 

Term

the Java program for embedded devices?

Definition
MIDlets
Term
Two (2) descriptions of HTML? 
Definition

It is stateless.


It integrates text, pictures, sounds and links.

 

Term

Two(2) descriptions of Swing?

Definition

It is part of Java Foundation classes 


It support borders

Term
supports pluggable look-and-feel?
Definition
Swing
Term

Two(2) descriptions of enumerated types?

 

Definition

They are subtypes of java.lang.Enum. 


They can be defined within a class.

Term
This is NOT a primitive wrapper class?
Definition
Char
Term
Description of an Interface?
Definition
Their variables are public, static, and final. 
Term
association navigation
Definition
defines the direction of a relationship. 
Term
Encapsulation
Definition
allows you to change a method's implementation without having to change its API. 
Term
Two(2) descriptions of overwriting methods.
Definition

A protected method can be overridden to be public. 


A method of package access can be overridden to be protected. 

Term
primitive data types can be assigned to a variable of type int? 
Definition

char


short

Term
An abstract class 
Definition

may extend a concrete class. 


may define concrete methods.

Term
What package is FileWriter in?
Definition
java.io
Term
What package is Button in?
Definition
java.util
Term
What package is URL in?
Definition
java.net
Term
What package is JPanel in?
Definition
javax.swing
Term
What package is  Vector in?
Definition
java.awt
Term

What statement must be the first statement in a Java source file?

Definition
package statement
Term
-jar option
Definition

It can be used with java command [image]

Term
legal assignment statements?
Definition

double d=1.4; 


double d=1.3D;


double d=1.2d;

Term

These two expressions result true, regarding the given statement?

boolean[] x=new boolean[4];

Definition

x[0]==false

x.length==4

 

Supporting users have an ad free experience!