Home

Java always provides a default constructor to a class.

A. True

B. False

You can do it
  1. The use of protected keyword to a member in a class will restrict its visibility as follows:
  2. Which exception is thrown by the read() method of InputStream class?
  3. Java always provides a default constructor to a class.
  4. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  5. With javadoc, which of the following denotes a javadoc comment?
  6. Which are the valid ways to create DataInputStream streams?
  7. When present, package must be the first no comment statement in the file.
  8. Declarations can appear anywhere in the body of a Java method.
  9. Which of the following statements are true?
  10. Which key word can protect a class in package from accessibility by the classes outside the package?
  11. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  12. Any method in a supper class can be over ridden in its subclass.
  13. It is perfectly legal to assign a subclass object to a supper class reference.
  14. A class may be both abstract and final.
  15. executeUpdate automatically updates data because___________
  16. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  17. To delete a file, we can use an instance of class file.
  18. The name of a Java program file must match the name of the class with the extension Java.
  19. Consider the following class definitions: class maths { student student1; } class student { String name;…
  20. The import statement is always the first no comment statement in a Java program files.
  21. putValue(...) method takes _____________________-
  22. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  23. Give file is a file object, which of the following are legal statements to create a new file.
  24. Which of the following control expressions are valid for an if statement?
  25. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  26. Which of the following methods can be used to remove a component from the display?
  27. The methods wait() and noify() are defined in
  28. Given the codeString s = new String("abc");Which of the following calls are valid?
  29. The name of the RMI compiler is ___________
  30. An EJB is a server-side component that encapsulates the business logic of an application