Home

We can add more than one class(es) at the time of compilation Java Beans.

A. True.

B. False.

You can do it
  1. A class may be both abstract and final.
  2. Consider the following class definitions: class maths { student student1; } class student { String name;…
  3. The concept of multiple inheritance is implemented in Java by
  4. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  5. A Java monitor must either extend thread class or implement Runnable interface.
  6. Which of the following represent legal flow control statements?
  7. Which of the following keywords are used to control access to a class member?
  8. One the features of is that an array can store many different types of values.
  9. Declaring a method synchronized guarantees that the deadlock cannot occur.
  10. Submit button always fires doPost(...)
  11. Any class may be inherited by another class in the same package.
  12. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  13. When the string objects are compared with ==, the result is true If the strings contain the same values.
  14. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  15. When we implement the Runnable interface, we must define the method
  16. forName() is a static factory method
  17. A string object can not be modified after it is created.
  18. Which of the following statements are true?
  19. Which of the following will produce a value of 22 if x=22.9:
  20. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  21. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  22. A package is a collection of
  23. Which of the following methods can be used to change the size of a size() *resize()
  24. Give file is a file object, which of the following are legal statements to create a new file.
  25. Which javadoc tag is used to denote a comment for methods parameters?
  26. The check box group class is a subclass of the component class.
  27. Servlet can have ___________
  28. Connection, Statement are interfaces and ResultSet is a class.
  29. Session bean
  30. The import statement is always the first no comment statement in a Java program files.