Home

Every method of a final in class is implicitly final.

A. True

B. False

You can do it
  1. In the code below, what data types the variable x can have?
  2. In RMI we invoke client method from remote server
  3. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  4. The import statement is always the first no comment statement in a Java program files.
  5. Which javadoc tag is used to denote a comment for methods parameters?
  6. The name of the RMI compiler is ___________
  7. A constructor must always invoke its supper class constructor in its first statement.
  8. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  9. Any class may be inherited by another class in the same package.
  10. A Java monitor must either extend thread class or implement Runnable interface.
  11. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  12. putValue(...) method takes _____________________-
  13. The methods wait() and noify() are defined in
  14. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  15. An individual array element that is passed to a method and modified in that method will contain the…
  16. Submit button always fires doPost(...)
  17. A string object can not be modified after it is created.
  18. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  19. forName() is a static factory method
  20. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  21. It is perfectly legal to assign a subclass object to a supper class reference.
  22. Which of the following methods can be used to change the size of a size() *resize()
  23. Which of the following represent legal flow control statements?
  24. Any method in a supper class can be over ridden in its subclass.
  25. Which key word can protect a class in package from accessibility by the classes outside the package?
  26. Declaring a method synchronized guarantees that the deadlock cannot occur.
  27. Which of the following keywords are used to control access to a class member?
  28. The length of a string object 's1' can be obtained using the expression s1.length.
  29. Which are the valid ways to create DataInputStream streams?
  30. The check box group class is a subclass of the component class.