JavaScript Interview Questions
Questions Answers Views Company eMail

why you used Java Script? Can it use for both client side and server side validation purpose?

HCL, Wipro, BeBo Technologies,

12 13554

How do you send a message to the browser in JavaScript?

Four soft, Vsys,

3 7320

What are the security related issues in JavaScript scripts?

Four soft,

3 7710

Does javascript support multidimensional arrays ?

4 5960

Can you call a Java Applet using a JavaScript function?

HCL, Satyam,

2 6232

Can any one tell me how Java is purely an Oops language

3 3299

What is the use of the String Tokenizer

1 6186

What is the relationship between JavaScript and ECMAScript?

Satyam, NIM,

4 14494

What are JavaScript types?

Infosys, Satyam,

10 15338

How do you convert numbers between different bases in JavaScript?

Wipro, Satyam, College School Exams Tests, UIST,

4 9666

What does isNaN function do?

Satyam,

2 7443

What is negative infinity?

Satyam, CoKinetic,

2 5538

What boolean operators does JavaScript support?

HCL, Aptech, Satyam,

5 9274

What does "1"+2+4 evaluate to?

Satyam, Acheron,

9 16762

How about 2+5+"8"?

Satyam,

6 4578


Post New JavaScript Questions


Un-Answered Questions { JavaScript }

what is the difference between wrappers and primitives es: diff between int i=200 in primitives and integeri = new integer(54)

907


What is missing in my code? function numberTally(numList) { var evenTotal = 0; var oddTotal = 0; for (var i = 0; i <= numList.length; i++) { if i % 2 { // i is odd oddTotal += numList[i]; // or oddTotal = oddTotal + numList[i]; } else { // i is even evenTotal + numList[i]; } } alert(oddTotal); return evenTotal; }

1624


Please write the Code of simple javascript calculator withot eval() function

524


What is the main difference between Map collections and other collections such as Set.

1503


I need project details about WEB CONTENT FILTERING USING NEURAL NETWORKS and how to explain it....plz help me in this topic.....

791


What output will this program produce System.out.println(x+"+"+y+"="+(x+));

631


what is a code in vb amount display in words

383


how can i change colour of a image in aspx file?

626


java pgm for reads a file(text file) and removes all the spaces then the text and write this back into the same file. e.g: (Input) _______ chennai is fourth biggest city in india. (output) _______ chennaiisfourthbiggestcityinindia.

559


How to capture the Image width and height using QTP script ? Kindly answer plz.... Thanx in adavance...

2496


Write a Program using Servlet and JDBC for developing online application for displaying the details of Cars owned by the residents in XYZ society. Make necessary assumptions and create appropriate databases

895


hi i want validations for two drop down lists. when user enter to second list by skipping first list alert box should appear. drop down validation Please choose an item from the drop down menu:

Choose a username:
Choose a username:
please any body help me thanks

751


accessdenied javanet disconnet

650


Define an interface MilitaryPower that has the following properties: • The interface has two public static final variables which are the finite x and y coordinate (i.e. the distance of the objects should not exceed these values. These values set to 100. • The interface has a method move that moves the military power objects to the target value. The method will be implemented by the other classes. The return type should be void. B) Define an enum class Direction which contains the directions (EAST, WEST, SOUTH, NORTH). C) Define a concrete class Tank that implements MilitaryPower, has the following properties: • XCoordinate (Integer), YCoordinate (Integer) are the instance variables for this class. • All instance variables should be private. • Write a parametered constructor that takes two parameters assigning with the instance variables. • Write a set and get method each of the instance variables. • Write a method move that takes two parameters. One of them is distance which type is integer. Another is direction which type Direction. The method should to the following: o If the direction is EAST, set the x-coordinate with adding distance. o If the direction is WEST, set the x-coordinate and subtract distance from x-coordinate. o If the direction is SOUTH, set the y-coordinate with adding distance. o If the direction is NORTH, set the y-coordinate and subtract distance from x-coordinate. • Write a method toString to display the tank coordinates. D) Define an array holding 10 MilitaryPower objects, all of them being a Tank. Then display each of the object information on the screen. (display its movements and coordinates).

858


what will happen and why if i will acess the methods of superclass which is declared as private by a object of same subclass.

720