Home

A panel can not be added to another panel.

A. True

B. False

You can do it
  1. In RMI we invoke client method from remote server
  2. What does the following line of code do?TextField text=new TextField(10);
  3. The modulus operator (%) can be used only with Integer operands.
  4. An individual array element that is passed to a method and modified in that method will contain the…
  5. forName() is a static factory method
  6. Which of the following will produce a value of 22 if x=22.9:
  7. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  8. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  9. Declarations can appear anywhere in the body of a Java method.
  10. Given the codeString s = new String("abc");Which of the following calls are valid?
  11. The setBackground() method is part of the class
  12. The programmer must explicitly create the system .in and system .out objects.
  13. A final class may not have any abstract method.
  14. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  15. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  16. One the features of is that an array can store many different types of values.
  17. The default case is always required in the switch selection structure.
  18. Session bean
  19. A variable declared inside the for loop control can not be referenced out side the loop.
  20. Which key word can protect a class in package from accessibility by the classes outside the package?
  21. Which of the following methods can be used to change the size of a size() *resize()
  22. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  23. The break statement is required in the default case of a switch selection structure.
  24. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  25. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  26. Which of the following keywords are used to control access to a class member?
  27. All the bitwise operators have the same level of precedence in Java.
  28. Java always provides a default constructor to a class.
  29. Connection, Statement are interfaces and ResultSet is a class.
  30. Every method of a final in class is implicitly final.