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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started