题目内容

The JCheckBox and JComboBox classes belong to which package

A. java.awt
B. javax.awt
C. java.swing
D. javax.swing

查看答案
更多问题

Which is not a type of statement

A. Conditional statement
B. Assignment statement
C. Iteration statement
D. Propagation statement

When apply naming conventions, which Java elements should start with a capital letter and continue on using the camel case convention

A. Class names
B. Interface names
Constant names
D. Package names
E. All of the above

Which statement would designate that your file belongs in the package com. ocajexam.utilities

A. pack com.ocajexam.utilities;
B. Package com.ocajexam.utilities.*
C. package com.ocajexam.utilities.*;
D. package com.ocajexam.utilities;

Which two import statements will allow for the import of the HashMap class

A. import java.util.HashMap;
B. import java.util.*;
C. import java.util.HashMap.*;
D. import java.util.hashMap;

答案查题题库