Home

A panel can not be added to another panel.

A. True

B. False

You can do it
  1. It is perfectly legal to refer to any instance variable inside of a static method.
  2. A static class method can be invoked by simply using the name of the method alone.
  3. The setBackground() method is part of the class
  4. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  5. executeUpdate automatically updates data because___________
  6. class.forName(...) creates an instance of java ODBC driver
  7. JSP files creates ________________
  8. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  9. One the features of is that an array can store many different types of values.
  10. In order to connect to a database through java program we must create _______-
  11. Objects are passed to a method by use of call-by-reference.
  12. A variable declared inside the for loop control can not be referenced out side the loop.
  13. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  14. The methods wait() and noify() are defined in
  15. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  16. Which of the following control expressions are valid for an if statement?
  17. The import statement is always the first no comment statement in a Java program files.
  18. In a single Servlet class we can use____________
  19. Which of the following are the wrapper classes?
  20. Frames and applets cannot be used together in the same program.
  21. Declarations can appear anywhere in the body of a Java method.
  22. Java is fully object oriented programme.
  23. A catch can have comma-separated multiple arguments.
  24. When we implement the Runnable interface, we must define the method
  25. When present, package must be the first no comment statement in the file.
  26. It is an error to have a method with the same signature in both the super class and its subclass.
  27. When the string objects are compared with ==, the result is true If the strings contain the same values.
  28. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  29. Which key word can protect a class in package from accessibility by the classes outside the package?
  30. Consider the following class definitions: class maths { student student1; } class student { String name;…