Java Programming and Technical Programming Technical

Which interface does java.util.Hashtable implement?
1) Java.util.Map
2) Java.util.List
3) Java.util.HashTable
4) Java.util.Collection

Read Solution (Total 9)

Java Other Question

public class While
{
public void loop()
{
int x= 0;
while ( 1 ) /* Line 6 */
{
System.out.print("x plus one is " + (x + 1)); /* Line 8 */
}
}
}


public class While
{
public void loop()
{
int x= 0;
while ( 1 ) /* Line 6 */
{
System.out.print("x plus one is " + (x + 1)); /* Line 8 */
}
}
}

Which statement is true?

A. There is a syntax error on line 1.
B. There are syntax errors on lines 1 and 6.
C. There are syntax errors on lines 1, 6, and 8.
D. There is a syntax error on line 6.
What is the role of Web Server?