Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Zadanie / Problem 1 - Operator new is used to: a ) defining new classes b ) creating objects of classes c ) assigning values
ZadanieProblem
Operator new is used to:
a defining new classes
b creating objects of classes
c assigning values to variables
d defining methods
ZadanieProblem
After 'int the values of variables and are
a
b
c
d
ZadanieProblem
After executing instructions 'String sM sH; and s s; the reference to string M is contained in variables:
a none of them
b both and s
c s
d
ZadanieProblem
After definition 'String null, A null,"UW; out of the expressions alength and a length correct ones are
a only the second
b both
c none of them
d only the first
ZadanieProblem
Instruction 'String arrnew String ; creates one local reference arr and
a array of three references to object of class String and three object of this class
b three object of class
String c array of three references to object of class String d nothing more
ZadanieProblem
Variables of type long occupy in memory:
a bytes
b bits
c or bytes, depending on platform
d bytes
ZadanieProblem
Reference this can be used only in
a static functions
b constructors, nonstatic methods and static functions
c constructors and
nonstatic methods
d constructors and static functions
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