Searching for "Which"

Q:

Which of the following navigator object properties is the same in both Netscape and IE?

A) navigator.appCodeName B) navigator.appName
C) navigator.appVersion D) None of the above
 
Answer & Explanation Answer: A) navigator.appCodeName

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

Q:

Which class provides an interface for invoking JavaScript methods and examining JavaScript properties.

A) ScriptObject B) JSObject
C) JavaObject D) Jobject
 
Answer & Explanation Answer: B) JSObject

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

Q:

Which of the following is added to prefs.js,when open a dialog box each time an error occurs?

A) user_pref("javascript.classic.error_alerts", true); B) user_pref("javascript.classic.error_alerts ", false);
C) user_pref("javascript.console.open_on_error ", false); D) user_pref("javascript.console.open_on_error ", true);
 
Answer & Explanation Answer: A) user_pref("javascript.classic.error_alerts", true);

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

Q:

Which of the following is not considered a JavaScript operator?

A) new B) this
C) delete D) typeof
 
Answer & Explanation Answer: B) this

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

Q:

Which of the following can't be done with client-side JavaScript?

A) Sending a form's contents by email B) Storing the form's contents to a database file on the server
C) Validating a form D) None of the above
 
Answer & Explanation Answer: B) Storing the form's contents to a database file on the server

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

Q:

Which keyword is used to declare the min and max functions?

A) iostream B) string
C) algorithm D) None of these
 
Answer & Explanation Answer: C) algorithm

Explanation:

Algorithm header file contain the supporting files needed for the execution of these functions.

Report Error

View Answer Report Error Discuss

Filed Under: C++

Q:

Which is best for coding the standard libary for c++?

A) no trailing underscores on names B) complex objects are returned by value
C) have a member-swap() D) All of the mentioned
 
Answer & Explanation Answer: D) All of the mentioned

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

Q:

To which type of class, We can apply RTTI?

A) Encapsulation B) Polymorphic
C) Derived D) None of these
 
Answer & Explanation Answer: B) Polymorphic

Explanation:

RTTI is available only for classes which are polymorphic, which means they have at least one virtual method.

Report Error

View Answer Report Error Discuss

Filed Under: C++