Home

The programmer must explicitly create the system .in and system .out objects.

A. True

B. False

You can do it
  1. Which of the following keywords are used to control access to a class member?
  2. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  3. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  4. Which of the following methods can be used to draw the outline of a square?
  5. The default case is always required in the switch selection structure.
  6. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  7. To delete a file, we can use an instance of class file.
  8. Which of the following command lines options generates documentation for all classes and methods?
  9. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  10. Which of the following are not keywords?
  11. The break statement is required in the default case of a switch selection structure.
  12. All the bitwise operators have the same level of precedence in Java.
  13. Which of the following statements are true?
  14. The check box group class is a subclass of the component class.
  15. A class may be both abstract and final.
  16. The length of a string object 's1' can be obtained using the expression s1.length.
  17. Which of the following methods belong to the String class?
  18. putValue(...) method takes _____________________-
  19. All methods in an abstract class must be declared abstract.
  20. When the string objects are compared with ==, the result is true If the strings contain the same values.
  21. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  22. The methods wait() and noify() are defined in
  23. A JSP file can be stored_________________
  24. Declaring a method synchronized guarantees that the deadlock cannot occur.
  25. Which of the following will produce a value of 22 if x=22.9:
  26. An EJB is a server-side component that encapsulates the business logic of an application
  27. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  28. One the features of is that an array can store many different types of values.
  29. Objects are passed to a method by use of call-by-reference.
  30. The concept of multiple inheritance is implemented in Java by