Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

JavaScript Interview Questions
Questions Answers Views Company eMail

What does the following statement declares?

1065

How can a particular frame be targeted, from a hyperlink, in javascript?

1093

Why it is not advised to use innerhtml in javascript?

973

Define event bubbling?

968

How are event handlers utilized in javascript?

1119

What are the different types of errors in javascript?

1008

How are object properties assigned?

966

Write the point of difference between web-garden and a web-farm?

985

What are escape characters?

975

Which keywords are used to handle exceptions?

1012

Explain how to read and write a file using javascript?

1027

Write the code for adding new elements dynamically?

1161

What is the use of blur function?

1020

What is the data type of variables of in javascript?

997

What are the various functional components in javascript?

1013


Post New JavaScript Questions

Un-Answered Questions { JavaScript }

How can a Javascript code redirect the user to a different page?

1001


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).

2239


What is meant by object oriented programming?

962


How to setting a cookie with the contents of a textbox?

1048


What is spread syntax?

976


What does unshift() function do in Javascript?

1410


What would be the result of 3+2+”7″?

1530


Explain the terms synchronous and asynchronous code?

1071


what is a difference of subclass and main class

1861