Home
You can do it
  1. A panel can not be added to another panel.
  2. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  3. Java always provides a default constructor to a class.
  4. To delete a file, we can use an instance of class file.
  5. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  6. The import statement is always the first no comment statement in a Java program files.
  7. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  8. Any method in a supper class can be over ridden in its subclass.
  9. The programmer must explicitly create the system .in and system .out objects.
  10. The name of a Java program file must match the name of the class with the extension Java.
  11. Declaring a method synchronized guarantees that the deadlock cannot occur.
  12. A variable declared inside the for loop control can not be referenced out side the loop.
  13. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  14. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  15. The modulus operator (%) can be used only with Integer operands.
  16. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  17. class.forName(...) creates an instance of java ODBC driver
  18. When the string objects are compared with ==, the result is true If the strings contain the same values.
  19. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  20. The name of the RMI compiler is ___________
  21. A class may be both abstract and final.
  22. Throwing an exception always causes program termination.
  23. Which key word can protect a class in package from accessibility by the classes outside the package?
  24. The use of protected keyword to a member in a class will restrict its visibility as follows:
  25. An EJB is a server-side component that encapsulates the business logic of an application
  26. putValue(...) method takes _____________________-
  27. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  28. Which of the following control expressions are valid for an if statement?
  29. Any class may be inherited by another class in the same package.
  30. Which exception is thrown by the read() method of InputStream class?