What is the correct way to write a JavaScript array?
A) var txt = new Array:1=("tim") 2=("kim") 3=("jim")
B) var txt = new Array(1:"tim",2:"kim",3:"jim")
C) var txt = new Array="tim","kim","jim")
D) var txt = new Array("tim","kim","jim")
Correct Answer:
Verified
Q5: How many kinds of classes can be
Q6: Which method is used to enable an
Q7: How would you detect a keypress in
Q8: Which Swing methods are thread-safe?
A)repaint()
B)revalidate()
C)invalidate()
D)all of the
Q9: Which of the following is not true?
A)The
Q11: What is the correct JavaScript syntax to
Q12: What is Remote method invocation (RMI)?
A)RMI allows
Q13: Which of this package is used for
Q14: Which of these methods are member of
Q15: Which of these Exceptions is thrown by
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