Home

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

A. True

B. False

You can do it
  1. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  2. In RMI before running the client program we must start RMI Registry.
  3. The name of a Java program file must match the name of the class with the extension Java.
  4. When the string objects are compared with ==, the result is true If the strings contain the same values.
  5. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  6. Connection, Statement are interfaces and ResultSet is a class.
  7. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  8. The name of the RMI compiler is ___________
  9. Submit button always fires doPost(...)
  10. A final class may not have any abstract method.
  11. Which of the following classes are available in the java.lang package?
  12. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  13. The length of a string object 's1' can be obtained using the expression s1.length.
  14. Which of the following methods can be used to remove a component from the display?
  15. Declaring a method synchronized guarantees that the deadlock cannot occur.
  16. Which of the following keywords are used to control access to a class member?
  17. An EJB is a server-side component that encapsulates the business logic of an application
  18. Give file is a file object, which of the following are legal statements to create a new file.
  19. Java always provides a default constructor to a class.
  20. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  21. Java is fully object oriented programme.
  22. Consider the following class definitions: class maths { student student1; } class student { String name;…
  23. The programmer must explicitly create the system .in and system .out objects.
  24. Which of the following control expressions are valid for an if statement?
  25. Throwing an exception always causes program termination.
  26. executeUpdate(------------) returns ___________
  27. EJBs can be of the following type(s)None of the above
  28. A string object can not be modified after it is created.
  29. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  30. A Java monitor must either extend thread class or implement Runnable interface.