programming languages Online Quiz - 11
Description: programming languages Online Quiz - 11 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Attempted
0/20
Correct 0
Score 0
‹
›
Libname statements can be used to create excel workbooks
We can assign NULL to const pointer after initializing once.
What makes C++ to support function overloading ?
Following functionality in C++ violates the encapsulation.
What is the memory of a class that contains niether data members nor member functions ?
How many differnces are there between structures in C and C++ ?
How many differnces we can find between structures in C and C++ ?
We can initialize following type of variables in class declaration.
What will be the output of the program?
public abstract class AbstractTest {
public int getNum() {
return 45;
}
public abstract class Bar {
public int getNum() {
return 38;
}
}
public static void main(String[] args) {
AbstractTest t = new AbstractTest() {
public int getNum() {
return 22;
}
};
AbstractTest.Bar f = t.new Bar() {
public int getNum() {
return 57;
}
};
System.out.println(f.getNum() + " " + t.getNum());
}
}
JAIN stands for Java Integrated Networks