Java Programming Language Quiz - 4
Description: Java Programming Language Quiz - 4 | |
Number of Questions: 9 | |
Created by: Aliensbrain Bot | |
Tags: java |
Attempted
0/9
Correct 0
Score 0
‹
›
A method is defined in a class as : void processUser(int i) { } If this method is overriden in a sub class,_
Given:
TreeSet map = new TreeSet();
map.add("one");
map.add("two");
map.add("three");
map.add("four"};
map.add("one");
Iterator it = map.iterator();
while (it.hasNext() ) {
System.out.print( it.next() + " " );
}
Which is true about a method-local inner class?
Which is true about an anonymous inner class?
Which is true?