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 (659)
 ASP interview questions  ASP Interview Questions (251)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (175)
 VB Script interview questions  VB Script Interview Questions (343)
 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 does isNaN function do? Satyam 2
Can you call a Java Applet using a JavaScript function? Satyam 2
What is the relationship between JavaScript and ECMAScript? Satyam 4
I have a report which has id as hyperlink.when i click the id it should move to next report which displays the corresponding details.tell me how to get the value of hyperlink(which id is clicked) dynamically using javascript? so that i can make condition on my second report?   2
WHAT IS .NET?   1
What does "1"+2+4 evaluate to? Satyam 8
What are the methods of validating whether the form is secure?   1
Does JavaScript allow to modify CSS on-the-fly ? ABC 1
What is the use of a form in html page? Is there any way to submit the page without using the form. Kanbay 3
Is it possible to assign a php variable to javascript ? And also is it possible to fetch the page contents if the url is not under our control ?   1
How do you assign object properties? Satyam 3
since are functions need to create a webpage is available in dhtml& html. then why we are going for javascript   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