Solved

Case 1 You Have Just Starting Working at Quantum Company. as a Company

Question 36

Multiple Choice

Case 1

You have just starting working at Quantum Company. As a new programmer, you have been asked to review and correct various pseudocode.

-The following pseudocode is not working correctly.Which answer shows the corrected code? class Product
Fields
String name
Methods
Void setName(string prodName)
Name = prodName
Return
String getName()
Return
EndClass


A) string getName()
Return name
B) void setName(prodName)
C) string getName(prodName)
Return name
D) string getName(prodName)
Return

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions