Question: Please answer 1 through 4 1. At run-time, the Java Virtual Machine locates classes by searching the directories listed in the________. (Write it out!) /////////////////////////////////
Please answer 1 through 4
1. At run-time, the Java Virtual Machine locates classes by searching the directories listed in the________. (Write it out!)
/////////////////////////////////
2. Which statements are true about wrapper classes?
(Select all that apply!)
A. In Java every primitive data type has a corresponding wrapper class.
B.A wrapper class encapsulates a primitive data type.
C. Wrapper classes help to treat variables of primitive data types as objects.
D. Any wrapper class can hold multiple values of the same primitive data type.
E. It is possible to "extract" the primitive data type from a wrapper class object.
/////////////////////////////////
3.Every class in Java inherits from:
WARNING: write fully qualified case-sensitive name including package and class name.
/////////////////////////////////
4. When working with an java.lang.Integer, java.lang is called its
A.Package
B. Namespace
C. Object
D. Interface
E. Class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
