Basic Java Programming Post Test Default Section Question Title * 1. Which of the following is not a Java Primitive? (Required.) double int float bit Do Not Know Question Title * 2. Which feature of the Java environment removes unreferenced objects from memory? (Required.) Object Manager Data Cleaner Memory Inspector Garbage Collector Do not know Question Title * 3. Objects are passed by? (Required.) Value Constructor Reference Type Do not know Question Title * 4. Which of the following commands outputs to the Console? (Required.) Print() System.display() System.out.println() Console.print() Do not know Question Title * 5. Java Arrays start at index zero (Required.) True False Do not know Question Title * 6. Which of the following method signatures will allow the method to be invoked without a call to a Constructor? (Required.) public static void method() private final void method() public void method() protected void method() Do not know Question Title * 7. Class scope objects are initialized to null (Required.) True False Do not know Question Title * 8. Which of the following Class definitions will prevent sub-classing? (Required.) private class ClassA public final class ClassA protected class ClassA class ClassA Do not know Question Title * 9. Java coding conventions recommend Class names to start with a capital letter (Required.) True False Do not know Question Title * 10. What is result of the following lines of code? int x = 21; int y = ++x; (Required.) Y will contain 20 Y will contain 21 Y will contain 22 Y will contain 0 Do not know Done