Stack extends
FileReader is subtype of InputStreamReader
What is the difference between a Stack and a Queue?
Which of these classes is not a member of the java.io package?
Which interface extends the DataOutput interface?
Which of these method is used to extract a substring from a string?
Which type of program is recommended to include in the try block?
Why is Java considered a dynamic language?
Which of the following statements about the finally block in Java is false?
What will be the output of the program?
public class X
{
public static void main(String [] args)
{
try
{
badMethod(); /* Line 7 */
System.out.print("A");
}
catch (Exception ex) /* Line 10 */
{
System.out.print("B"); /* Line 12 */
}
finally /* Line 14 */
{
System.out.print("C"); /* Line 16 */
}
System.out.print("D"); /* Line 18 */
}
public static void badMethod()
{
throw new RuntimeException();
}
}