Home

A final class may not have any abstract method.

A. True

B. False

You can do it
  1. The import statement is always the first no comment statement in a Java program files.
  2. Which of the following methods can be used to change the size of a size() *resize()
  3. Servlet can have ___________
  4. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  5. To delete a file, we can use an instance of class file.
  6. executeUpdate(------------) returns ___________
  7. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  8. In a single Servlet class we can use____________
  9. A string object can not be modified after it is created.
  10. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  11. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  12. Which of the following are the wrapper classes?
  13. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  14. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  15. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  16. forName() is a static factory method
  17. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  18. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  19. Which of the following statements are valid array declarations?
  20. JSP files creates ________________
  21. Which of the following will produce a value of 10 if x = 9.7?
  22. The name of a Java program file must match the name of the class with the extension Java.
  23. Which of the following represent legal flow control statements?
  24. Java is fully object oriented programme.
  25. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  26. Objects are passed to a method by use of call-by-reference.
  27. Which are the valid ways to create DataInputStream streams?
  28. What does the following line of code do?TextField text=new TextField(10);
  29. Declaring a method synchronized guarantees that the deadlock cannot occur.
  30. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.