Frames and applets cannot be used together in the same program.

A. True

B. False

You can do it
  1. To delete a file, we can use an instance of class file.
  2. Declaring a method synchronized guarantees that the deadlock cannot occur.
  3. The concept of multiple inheritance is implemented in Java by
  4. Which of the following will produce a value of 22 if x=22.9:
  5. When we invoke repaint () for a Component, the AWT invokes the method:
  6. Throwing an exception always causes program termination.
  7. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  8. Given the codeString s = new String("abc");Which of the following calls are valid?
  9. In the code below, what data types the variable x can have?
  10. The check box group class is a subclass of the component class.
  11. Java always provides a default constructor to a class.
  12. DataInput is
  13. Submit button always fires doPost(...)
  14. When we implement an interface method, it should be declared as public.
  15. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  16. A catch can have comma-separated multiple arguments.
  17. Servlet can have ___________
  18. An individual array element that is passed to a method and modified in that method will contain the…
  19. The setBackground() method is part of the class
  20. Which of the following are not keywords?
  21. The keywords reserved but not used in the initial version of Java re:
  22. class.forName(...) creates an instance of java ODBC driver
  23. A static class method can be invoked by simply using the name of the method alone.
  24. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  25. Which of the following statements are valid array declarations?
  26. In RMI before running the client program we must start RMI Registry.
  27. Two methods cannot have the same name in Java.
  28. A final class may not have any abstract method.
  29. A variable declared inside the for loop control can not be referenced out side the loop.
  30. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.