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. Which of the following are the wrapper classes?
  2. A final class may not have any abstract method.
  3. In RMI we invoke client method from remote server
  4. A catch can have comma-separated multiple arguments.
  5. A static class method can be invoked by simply using the name of the method alone.
  6. The name of a Java program file must match the name of the class with the extension Java.
  7. One the features of is that an array can store many different types of values.
  8. With javadoc, which of the following denotes a javadoc comment?
  9. Every method of a final in class is implicitly final.
  10. Submit button always fires doPost(...)
  11. When we invoke repaint () for a Component, the AWT invokes the method:
  12. Which javadoc tag is used to denote a comment for methods parameters?
  13. JSP files creates ________________
  14. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  15. We would like to make a member of a class visible in all subclasses regardless of what package they…
  16. Any class may be inherited by another class in the same package.
  17. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  18. The name of the RMI compiler is ___________
  19. Which key word can protect a class in package from accessibility by the classes outside the package?
  20. What does the following line of code do?TextField text=new TextField(10);
  21. The use of protected keyword to a member in a class will restrict its visibility as follows:
  22. When the string objects are compared with ==, the result is true If the strings contain the same values.
  23. EJBs can be of the following type(s)None of the above
  24. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  25. A Java monitor must either extend thread class or implement Runnable interface.
  26. Consider the following class definitions: class maths { student student1; } class student { String name;…
  27. An individual array element that is passed to a method and modified in that method will contain the…
  28. Declaring a method synchronized guarantees that the deadlock cannot occur.
  29. We can add more than one class(es) at the time of compilation Java Beans.
  30. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…