The default case is always required in the switch selection structure.

A. True

B. False

You can do it
  1. Java always provides a default constructor to a class.
  2. It is perfectly legal to assign a subclass object to a supper class reference.
  3. The length of a string object 's1' can be obtained using the expression s1.length.
  4. Servlet has ___________
  5. Consider the following class definitions: class maths { student student1; } class student { String name;…
  6. Give file is a file object, which of the following are legal statements to create a new file.
  7. Which of the following methods can be used to draw the outline of a square?
  8. Given the codeString s = new String("abc");Which of the following calls are valid?
  9. A JSP file can be stored_________________
  10. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  11. When we implement an interface method, it should be declared as public.
  12. A variable declared inside the for loop control can not be referenced out side the loop.
  13. The concept of multiple inheritance is implemented in Java by
  14. A catch can have comma-separated multiple arguments.
  15. What does the following line of code do?TextField text=new TextField(10);
  16. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  17. In RMI we invoke client method from remote server
  18. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  19. When we invoke repaint () for a Component, the AWT invokes the method:
  20. All the bitwise operators have the same level of precedence in Java.
  21. A panel can not be added to another panel.
  22. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  23. The setBackground() method is part of the class
  24. Any class may be inherited by another class in the same package.
  25. The keywords reserved but not used in the initial version of Java re:
  26. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  27. Declaring a method synchronized guarantees that the deadlock cannot occur.
  28. Which of the following will produce a value of 10 if x = 9.7?
  29. Java is fully object oriented programme.
  30. A final class may not have any abstract method.