Home

A final class may not have any abstract method.

A. True

B. False

You can do it
  1. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  2. An individual array element that is passed to a method and modified in that method will contain the…
  3. A method declared as static can not access non-static class members.
  4. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  5. Frames and applets cannot be used together in the same program.
  6. Servlet can have ___________
  7. It is an error to have a method with the same signature in both the super class and its subclass.
  8. Java is fully object oriented programme.
  9. It is perfectly legal to refer to any instance variable inside of a static method.
  10. Give file is a file object, which of the following are legal statements to create a new file.
  11. Which of the following are the wrapper classes?
  12. Consider the following class definitions: class maths { student student1; } class student { String name;…
  13. In order to connect to a database through java program we must create _______-
  14. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  15. Which of the following are keywords?
  16. When we invoke repaint () for a Component, the AWT invokes the method:
  17. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  18. In a single Servlet class we can use____________
  19. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  20. Submit button always fires doPost(...)
  21. class.forName(...) creates an instance of java ODBC driver
  22. Objects are passed to a method by use of call-by-reference.
  23. Declaring a method synchronized guarantees that the deadlock cannot occur.
  24. In the code below, what data types the variable x can have?
  25. Which of the following methods can be used to change the size of a size() *resize()
  26. The break statement is required in the default case of a switch selection structure.
  27. Which of the following classes are available in the java.lang package?
  28. We can add more than one class(es) at the time of compilation Java Beans.
  29. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  30. Members of a class specified as private are accessible only to the methods of the class.