Home

A class may be both abstract and final.

A. True

B. False

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  2. Which of the following keywords are used to control access to a class member?
  3. Objects are passed to a method by use of call-by-reference.
  4. Java always provides a default constructor to a class.
  5. It is perfectly legal to refer to any instance variable inside of a static method.
  6. What is java -g used for?
  7. A catch can have comma-separated multiple arguments.
  8. When we implement an interface method, it should be declared as public.
  9. In RMI we invoke client method from remote server
  10. The check box group class is a subclass of the component class.
  11. Which of the following will produce a value of 22 if x=22.9:
  12. The setBackground() method is part of the class
  13. An EJB is a server-side component that encapsulates the business logic of an application
  14. Which of the following statements are true?
  15. When we invoke repaint () for a Component, the AWT invokes the method:
  16. Which of the following are the wrapper classes?
  17. Members of a class specified as private are accessible only to the methods of the class.
  18. The name of the RMI compiler is ___________
  19. Which of the following methods can be used to change the size of a size() *resize()
  20. Which of the following methods belong to the String class?
  21. We would like to make a member of a class visible in all subclasses regardless of what package they…
  22. When present, package must be the first no comment statement in the file.
  23. Which of the following classes are available in the java.lang package?
  24. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  25. Which exception is thrown by the read() method of InputStream class?
  26. Which of the following are keywords?
  27. Consider the following class definitions: class maths { student student1; } class student { String name;…
  28. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  29. The default case is always required in the switch selection structure.
  30. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…