Mobile Flash Cards

Gary Marrer

Start Flash Cards




































Q: What is the file type of a compiled Java Application?

Answer

































A: Class

Q: What Java tool is used for testing Java Applets

Answer

































A: Appletviewer

Q: What does void mean in a method header

Answer

































A: no datatype is specified

Q: Which is larger int or long

Answer

































A: long

Q: How many classes can be save in a single text file

Answer

































A: unlimited but one only one can be public and have the same href as the text source file

Q: What will happen if you put the character 'A' in a variable with a data type of int

Answer

































A: an exception will be thrown

Q: What are the modifiers on a main menu in a Java application

Answer

































A: public static void

Q: what will the keyword import do

Answer

































A: allows access to classes outside of your class file

Q: JOptionPane is a class in which namespace package

Answer

































A: javax.swing

Restart Flash Cards