in Education by
The JavaScript classes can be instantiated using _____ operator. (a) create (b) new (c) instantiate (d) create.new This question was posed to me in an internship interview. The doubt is from Scripting Java with Rhino topic in chapter Server-Side and Client-Side Scripting of JavaScript Select the correct answer from above options JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
The correct answer is (b) new For explanation I would say: New is a keyword in JavaScript which is used to define new models. New operator is used to create new instance of the class.

Related questions

0 votes
0 votes
    JavaScript Code can be called by using ____________ (a) RMI (b) Triggering Event (c) Preprocessor (d) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    JavaScript Code can be called by using ___________ (a) RMI (b) Triggering Event (c) Preprocessor (d) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which side of the image map can be created using JavaScript? (a) Server side (b) Client side (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
0 votes
    JavaScript can be written __________ (a) directly into JS file and included into HTML (b) directly on the ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of these classes can schedule task for execution in future? (a) Thread (b) Timer (c) System ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of the following is the descendant operator? (a) .. (b) (c) * (d) @ I had been ... questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    Which of the following is the assignment operator? (a) (c) = (d) == The question was posed to ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    Which character in JavaScript code will be interpreted as XML markup? (a) ! (b) > (c) & (d) ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
0 votes
    How can you create a node for comment in JavaScript? (a) comment() (b) createComment() (c) comm( ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
0 votes
    A JavaScript program can traverse and manipulate document content through __________ (a) Element Object (b) Document ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
...