Home

A final class may not have any abstract method.

A. True

B. False

You can do it
  1. Which of the following statements are true?
  2. Which of the following methods can be used to remove a component from the display?
  3. What does the following line of code do?TextField text=new TextField(10);
  4. A panel can not be added to another panel.
  5. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  6. In order to connect to a database through java program we must create _______-
  7. Which of the following methods can be used to change the size of a size() *resize()
  8. EJBs can be of the following type(s)None of the above
  9. Which of the following methods belong to the String class?
  10. Submit button always fires doPost(...)
  11. Java always provides a default constructor to a class.
  12. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  13. We can over load methods with differences only in their return type.
  14. The default case is always required in the switch selection structure.
  15. It is perfectly legal to refer to any instance variable inside of a static method.
  16. The keywords reserved but not used in the initial version of Java re:
  17. Consider the following class definitions: class maths { student student1; } class student { String name;…
  18. Given the codeString s = new String("abc");Which of the following calls are valid?
  19. In RMI before running the client program we must start RMI Registry.
  20. An individual array element that is passed to a method and modified in that method will contain the…
  21. Declaring a method synchronized guarantees that the deadlock cannot occur.
  22. Which of the following represent legal flow control statements?
  23. To delete a file, we can use an instance of class file.
  24. Which are the valid ways to create DataInputStream streams?
  25. Declarations can appear anywhere in the body of a Java method.
  26. The name of a Java program file must match the name of the class with the extension Java.
  27. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  28. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  29. forName() is a static factory method
  30. Any class may be inherited by another class in the same package.