Home

It is an error if a class with one or more abstract methods is not explicitly declared abstract.

A. True

B. False

You can do it
  1. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  2. Java is fully object oriented programme.
  3. The default case is always required in the switch selection structure.
  4. A variable declared inside the for loop control can not be referenced out side the loop.
  5. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  6. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  7. Submit button always fires doPost(...)
  8. It is perfectly legal to refer to any instance variable inside of a static method.
  9. When we implement an interface method, it should be declared as public.
  10. putValue(...) method takes _____________________-
  11. Declaring a method synchronized guarantees that the deadlock cannot occur.
  12. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  13. A panel can not be added to another panel.
  14. With javadoc, which of the following denotes a javadoc comment?
  15. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  16. A method declared as static can not access non-static class members.
  17. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  18. executeUpdate automatically updates data because___________
  19. Throwing an exception always causes program termination.
  20. We can over load methods with differences only in their return type.
  21. When we implement the Runnable interface, we must define the method
  22. All the bitwise operators have the same level of precedence in Java.
  23. Which of the following represent legal flow control statements?
  24. Which of the following control expressions are valid for an if statement?
  25. Which of the following statements are true?
  26. The concept of multiple inheritance is implemented in Java by
  27. Which exception is thrown by the read() method of InputStream class?
  28. DataInput is
  29. The setBackground() method is part of the class
  30. Which of the following represent legal flow control statements?