ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Scripts >> JavaScript
 
 


 

 
 PHP interview questions  PHP Interview Questions (658)
 ASP interview questions  ASP Interview Questions (251)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (174)
 VB Script interview questions  VB Script Interview Questions (342)
 JSP interview questions  JSP Interview Questions (100)
 Shell Script interview questions  Shell Script Interview Questions (158)
 Python interview questions  Python Interview Questions (5)
 Tcl interview questions  Tcl Interview Questions (19)
 Awk interview questions  Awk Interview Questions (6)
 AJAX interview questions  AJAX Interview Questions (24)
 Ruby on Rails interview questions  Ruby on Rails Interview Questions (21)
 Scripts AllOther interview questions  Scripts AllOther Interview Questions (48)
Question
What is constructor?
 Question Submitted By :: JavaScript
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
A constructor is a special type of member function for
automatic initialization of an object.
when ever an object is created the constructor will be
executed automatically.
the name of constructor same as that of its class.the
constructor is declared with no return type,not even void.
constructor should be declared in the public section most
of the time.
 
Is This Answer Correct ?    4 Yes 0 No
Susheel Kumar
 

 
 
 
Other JavaScript Interview Questions
 
  Question Asked @ Answers
 
what is inheritence Wipro 6
What is constructor?   1
where we use javascript and for which purpose we use javascript how? TCS 10
why array is called the collection of similar datatypes?   1
What is a way to append a value to an array? Satyam 5
disbable back option by java script TCS 5
what is interface ?   5
if the two text boxes are there i want assign the vales like 2&3 and if i select button means i want find the sum.this is client side scripting in javascript Infosys 7
What does "1"+2+4 evaluate to? Satyam 8
How do you send a message to the browser in JavaScript? Four-soft 3
what is syntax of wapper class   1
What looping structures are there in JavaScript? Satyam 1
 
For more JavaScript Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com