Home

A panel can not be added to another panel.

A. True

B. False

You can do it
  1. What does the following line of code do?TextField text=new TextField(10);
  2. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  3. What is java -g used for?
  4. Given the codeString s = new String("abc");Which of the following calls are valid?
  5. To delete a file, we can use an instance of class file.
  6. The check box group class is a subclass of the component class.
  7. Which of the following methods belong to the String class?
  8. The modulus operator (%) can be used only with Integer operands.
  9. The use of protected keyword to a member in a class will restrict its visibility as follows:
  10. The methods wait() and noify() are defined in
  11. A static class method can be invoked by simply using the name of the method alone.
  12. One the features of is that an array can store many different types of values.
  13. In the code below, what data types the variable x can have?
  14. A class may be both abstract and final.
  15. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  16. Two methods cannot have the same name in Java.
  17. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  18. Throwing an exception always causes program termination.
  19. The programmer must explicitly create the system .in and system .out objects.
  20. Which of the following methods can be used to remove a component from the display?
  21. A final class may not have any abstract method.
  22. We can over load methods with differences only in their return type.
  23. putValue(...) method takes _____________________-
  24. All the bitwise operators have the same level of precedence in Java.
  25. A catch can have comma-separated multiple arguments.
  26. When we invoke repaint () for a Component, the AWT invokes the method:
  27. Connection, Statement are interfaces and ResultSet is a class.
  28. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  29. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  30. When we implement the Runnable interface, we must define the method