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 are the uses of javascript in web page designing?

855

What percentage of websites use javascript?

920

What is a null variable in javascript?

1019

How do I start a javascript project?

981

What is innertext javascript?

967

What is null javascript?

995

What is question mark in javascript?

902

What does e mean in javascript?

1006

What do I need to code javascript?

984

What is client side in javascript?

873

What is global variable in javascript?

927

What is event target in javascript?

946

What is meant by vanilla javascript?

977

Why is javascript so important?

963

What is difference between callback and promise?

918


Post New JavaScript Questions

Un-Answered Questions { JavaScript }

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

2173


Explain the working of timers in JavaScript? Also elucidate the drawbacks of using the timer, if any?

998


What does undefined value mean in javascript?

1105


How do I open javascript on my iphone?

964


Explain “use strict” ?

936


What does unshift() function do in Javascript?

1316


In a java script, what is the difference between "==" and "===" operator?

1064


What do you mean by ide?

819


What is a frontend framework?

944


How many types of variables are there in javascript?

939


How to use "join()" to create a string from an array using javascript?

984


What is the difference between undefined value and null value?

1018


List few difference between java and javascript?

1004


How Does Function Hoisting Work in JavaScript?

940


What is the difference between arrow function and normal function?

1021