Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
Javascript
« Previous
Next »
Is it possible to declare a variable in Javascript along its type?
Options
- Yes
- No
CORRECT ANSWER : No
Discussion Board
Ehhh?
Type is declared by variables value... not by declaring the type of variable before declaration. So, the correct answer is no :) Please ammend.
Tom Bennett 09-30-2015 08:30 AM
This must be wrong.
I think these quizes are not reliable...
Andrew 06-23-2015 01:02 AM
Bridge Java and .NET
This is news to me. I'd prefer JavaScript to be a type-safe language LOL but it's not.
Try to say:
var String myString = "blah";
Unless you mean a new instance of an object using protoType?
Yvonne Wood 02-19-2015 06:54 PM
Javascript
Please elaborate more on this with reasons. Though i got the answer correct
Baingana David 11-11-2014 02:51 AM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
Java Beginner (11)
Java (39)
Java (40)
Java (22)
Java (30)
Java (25)
Java (20)
Java (20)
Core Java (20)
Core Java (10)
Core Java (72)
EJB (20)
JDBC (20)
Applet (20)
Struts (21)
Servlets (20)
Java Web Services (20)
Javascript (40)
J2EE (10)
jQuery (46)
Advertisement
▲