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
‹
›
We can assign NULL to const pointer after initializing once.
What will be the output of the program?
public class Foo {
Foo() {
System.out.print("foo");
}
class Bar {
Bar() {
System.out.print("bat");
}
public void go() {
System.out.print("hi");
}
} /* class Bar ends */
public static void main(String[] args) {
Foo f = new Foo();
f.makeBar();
}
void makeBar() {
(new Bar() {}).go();
}
} /* class Foo ends */
JAIN stands for Java Integrated Networks
JCE stands for Java Communication Extension
JDO stands for Java Data Objects
JAX-WS stands for Java API for XML Web Services