Solved

Case-Based Critical Thinking Questions Case 1 - Human Resources Application

Question 43

Multiple Choice

Case-Based Critical Thinking Questions Case 1 - Human Resources Application
An application used by the Human Resources (HR) department needs to be improved. You need to use various string manipulation properties and methods to ensure all data entered by a user is accurate and stored correctly.
The HR department has decided to change the Finance department number from 04 to 09. Which of the following statements correctly changes the contents of the strEmpCode ?


A) strEmpCode = strEmpCode.Replace("04", "09")
B) strEmpCode = strEmpCode.Replace("09", "04")
C) strEmpCode = strEmpCode.Remove(0, 2) strEmpCode = strEmpCode.Insert(1, "09")
D) strEmpCode = strEmpCode.Remove(1, 2) strEmpCode = strEmpCode.Insert(1, "04")

Correct Answer:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents