What is the code snippet to change the class and let the stylesheet specify the details?
A
timestamp.className = “highlight”;
B
timestamp.className = “change”;
C
timestamp.className = “specify”;
D
timestamp.className = “move”;
Correct Answer: timestamp.className = “highlight”;
“typename” is a keyword in the C++ programming language used when writing templates. The above code snippet changes the class and lets the stylesheet specify the details.