Suppose you have a class named Employee with a name property and a standard setName method. What is the situation after the following code executes?
Var emp1 = new Employee("Emme") ;
Var emp2 = emp1;
Emp2.setName("Jessie") ;
A) For their name properties, emp1 stores "Emme" and emp2 stores "Jessie".
B) For their name properties, both emp1 and emp2 store "Emme".
C) For their name properties, both emp1 and emp2 store "Jessie".
D) Both emp1 and emp2 store null.
Correct Answer:
Verified
Q52: An advantage of client-side processing over server-side
Q53: Which of the following is the best
Q54: A text control is an example of
Q55: Which of the following displays a numOfPurchases
Q56: Suppose you have a class named Student
Q58: When you call the addEventListener method, you
Q59: What do canvas's transformation operations allow you
Q60: In JavaScript, which of the following creates
Q61: In JavaScript, to find the number of
Q62: Suppose you have an array named carMakes
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents