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 file relation
Which is a non-keyed access path
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 currDate = new Date("30 September, 2011");
alert(currDate.getMonth());
function Book(id, name) {
this.id = id;
this.name = name;
}
var book = new Book("1001", "Head First JavaScript");
alert(book.id);
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);