Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
