Lightweight, interpreted programming language.
Designed for creating network-centric applications.
Complementary to and integrated with Java.
Complementary to and integrated with HTML.
Open and cross-platform.
The Object.is() method determines whether two values are the same value.
Object.is() determines whether two values are the same value. Two values are the same if one of the following holds:
both true or both false
both strings of the same length with the same characters
both the same object
both numbers and
or both non-zero and both not NaN and both have the same value
11. What is the difference between ViewState and SessionState?
‘ViewState’ is specific to a page in a session.
‘SessionState’ is specific to user specific data that can be accessed across all pages in the web application.
SessionState persist the data of particular user in the server. This data available till user close the browser or session time completes. View State are valid mainly during postbacks and information is stored in client only. Viewstate are valid for serializable data only.
12. What is negative infinity?
14. What is the use of Void(0)?
Void(0) is used to prevent the page from refreshing and parameter “zero” is passed while calling.
Void(0) is used to call another method without refreshing the page.
16. What is the difference between an alert box and a confirmation box?
An alert box displays only one button which is the OK button.
But a Confirmation box displays two buttons namely OK and cancel.