Home

The break statement is required in the default case of a switch selection structure.

A. True

B. False

You can do it
  1. The modulus operator (%) can be used only with Integer operands.
  2. DataInput is
  3. The break statement is required in the default case of a switch selection structure.
  4. A package is a collection of
  5. Members of a class specified as private are accessible only to the methods of the class.
  6. JdbcOdbcDriver is an object of Object class
  7. In RMI we invoke client method from remote server
  8. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  9. Which of the following methods can be used to remove a component from the display?
  10. Give file is a file object, which of the following are legal statements to create a new file.
  11. Which of the following methods belong to the String class?
  12. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  13. forName() is a static factory method
  14. All methods in an abstract class must be declared abstract.
  15. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  16. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  17. Throwing an exception always causes program termination.
  18. Consider the following class definitions: class maths { student student1; } class student { String name;…
  19. A class may be both abstract and final.
  20. Which are the valid ways to create DataInputStream streams?
  21. Which of the following keywords are used to control access to a class member?
  22. What is java -g used for?
  23. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  24. The length of a string object 's1' can be obtained using the expression s1.length.
  25. Which of the following statements are true?
  26. The methods wait() and noify() are defined in
  27. Which exception is thrown by the read() method of InputStream class?
  28. Declaring a method synchronized guarantees that the deadlock cannot occur.
  29. executeUpdate(------------) returns ___________
  30. An EJB is a server-side component that encapsulates the business logic of an application