programming languages Online Quiz - 9
Description: programming languages Online Quiz - 9 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Attempted
0/20
Correct 0
Score 0
‹
›
Which is true about an anonymous inner class?
class Boo {
Boo(String s) {}
Boo() {}
}
class Bar extends Boo {
Bar() {}
Bar(String s) {
super(s);
}
void zoo() {
// insert code here
}
}
which one create an anonymous inner class from within class Bar?
Which is true about a method-local inner class?
Which constructs an anonymous inner class instance?
Which of these is /are SYNON relations?
Which is not a file to field relation
Which is not a file to file relation
Which is a non-keyed access path
How many types of access paths are there in SYNON
What is the output of the below JavaScript?
alert(Math.sqrt(-16));
What is the output of the below JavaScript?
with(Math){
alert(pow(2,3));
}
What is the output of the below JavaScript?
alert(parseInt("8.56") + " " + parseInt("8error"));
What is the output of the below JavaScript?
alert(parseFloat("8.56"));
What is the output of the below JavaScript?
var book = "Head First JavaScript";
alert(book.length);
a = 10;
var b = 20;
var c = a + b;
alert(c);
var personObj = new Object();
personObj.firstname = "Jerome";
personObj.lastname = "Davin";
alert(personObj.firstname);
What is the output of the below JavaScript?
var personObj = {firstname:"Jerome",lastname:"Davin"};
alert(personObj.lastname);