Keyword

Result: 191 questions

Which of the following is the output of the below JavaScript code?

function() {
    if(true) {
        var a = 5;
    }
    alert(a);
}
Quiz

Which of the following is the output of the below JavaScript code?

  var x = [typeof x, typeof y][1];
  typeof typeof x;
Quiz

What is the output of the following JavaScript snippet?

function() {
    var a = 10;
    if(a > 5) {
        a = 7;
    }
    alert(a);
}
Quiz

What is the result of the below JavaScript code when the functions get called in the order as mentioned?

var a = 5;
function first() {
    a = 6;
}

function second() {
    alert(a);
}
Quiz

Which of the following JavaScript code snippet would create an object?

function() {
    var a = 10;
    if(a > 5) {
        a = 7;
    }
    alert(a);
}
Quiz

Which is the use of typeof operator in JavaScript?

function() {
    var a = 10;
    if(a > 5) {
        a = 7;
    }
    alert(a);
}
Quiz

What is the result of the below JavaScript code when the functions get called in the order as mentioned?

function first() {
    window.a = 3;
}

function second() {
    alert(a);
}
Quiz

Which of the following statements is valid for the features of JavaScript?

Quiz

What data types are supported by AIDL?

Answer:

AIDL has support for the following data types:
-string
-charSequence
-List
-Map
-all native Java data types like int,long, char and Boolean

View

What language is supported by Android for application development?

Answer:

The main language supported is Java programming language. Java is the most popular language for app development, which makes it ideal even for new Android developers to quickly learn to create and deploy applications in the Android environment.

View

Why is @import only at the top?

Answer:

@import is preferred only at the top, to avoid any overriding rules. Generally, ranking order is followed in most programming languages such as Java, Modula, etc. In C, the # is a prominent example of a @import being at the top.

View

© 2017 QuizBucket.org