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. Give file is a file object, which of the following are legal statements to create a new file.
  2. When the string objects are compared with ==, the result is true If the strings contain the same values.
  3. class.forName(...) creates an instance of java ODBC driver
  4. Which of the following will produce a value of 10 if x = 9.7?
  5. An EJB is a server-side component that encapsulates the business logic of an application
  6. The length of a string object 's1' can be obtained using the expression s1.length.
  7. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  8. To delete a file, we can use an instance of class file.
  9. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  10. Which of the following keywords are used to control access to a class member?
  11. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  12. An individual array element that is passed to a method and modified in that method will contain the…
  13. All methods in an abstract class must be declared abstract.
  14. Java always provides a default constructor to a class.
  15. Servlet has ___________
  16. Which of the following statements are valid array declarations?
  17. Which of the following methods can be used to change the size of a size() *resize()
  18. A JSP file can be stored_________________
  19. The name of a Java program file must match the name of the class with the extension Java.
  20. Which of the following represent legal flow control statements?
  21. Which of the following methods belong to the String class?
  22. Which of the following represent legal flow control statements?
  23. In a single Servlet class we can use____________
  24. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  25. A Java monitor must either extend thread class or implement Runnable interface.
  26. In RMI before running the client program we must start RMI Registry.
  27. The concept of multiple inheritance is implemented in Java by
  28. Connection, Statement are interfaces and ResultSet is a class.
  29. The default case is always required in the switch selection structure.
  30. The methods wait() and noify() are defined in