Question: These are Javascript multiple choice questions: 1.)When the this variable is used to call a constructor: A.) you cannot use the this variable in a

These are Javascript multiple choice questions:

1.)When the this variable is used to call a constructor:

A.)

you cannot use the this variable in a constructor call

B.)

it can be anywhere in the constructor making the call

C.)

it must be the last statement in the constructor making the call

D.)

it must be the first statement in the constructor making the call

2.)In Java, it is possible to write a method that will return:

A.)a whole number

B.)a monetary value

C.)a string of characters

D.)a reference to an object

E.)All of these

3.)If the this variable is used to call a constructor:

A.)a compiler error will result, if it is the first statement of the constructor

B.)the this variable cannot be used as a constructor call

C.)nothing will happen

D.)a compiler error will result, if it is not the first statement of the constructor

4.)A deep copy of an object:

A.)is a bogus term, it has no meaning

B.)is always a private method

C.)is an operation that copies an aggregate object, and all the objects it references

D.)is an assignment of that object to another object

I don't know why this is weirdly setting up tables. I hope the questions are readable. My apologies.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!