Home

If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.

A. True

B. False

You can do it
  1. A class may be both abstract and final.
  2. Which of the following methods can be used to change the size of a size() *resize()
  3. Which of the following methods can be used to remove a component from the display?
  4. The name of a Java program file must match the name of the class with the extension Java.
  5. A JSP file can be stored_________________
  6. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  7. The setBackground() method is part of the class
  8. The name of the RMI compiler is ___________
  9. With javadoc, which of the following denotes a javadoc comment?
  10. executeUpdate(------------) returns ___________
  11. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  12. Which of the following statements are true?
  13. A final class may not have any abstract method.
  14. Every method of a final in class is implicitly final.
  15. class.forName(...) creates an instance of java ODBC driver
  16. The modulus operator (%) can be used only with Integer operands.
  17. When we implement the Runnable interface, we must define the method
  18. In RMI before running the client program we must start RMI Registry.
  19. Give file is a file object, which of the following are legal statements to create a new file.
  20. Which of the following control expressions are valid for an if statement?
  21. EJBs can be of the following type(s)None of the above
  22. Which of the following are the wrapper classes?
  23. Members of a class specified as private are accessible only to the methods of the class.
  24. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  25. What does the following line of code do?TextField text=new TextField(10);
  26. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  27. Which are the valid ways to create DataInputStream streams?
  28. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  29. Any method in a supper class can be over ridden in its subclass.
  30. Declarations can appear anywhere in the body of a Java method.