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 methods can be used to draw the outline of a square?
  2. The use of protected keyword to a member in a class will restrict its visibility as follows:
  3. The check box group class is a subclass of the component class.
  4. The name of the RMI compiler is ___________
  5. DataInput is
  6. Java is fully object oriented programme.
  7. In order to connect to a database through java program we must create _______-
  8. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  9. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  10. When we implement the Runnable interface, we must define the method
  11. In RMI before running the client program we must start RMI Registry.
  12. Give file is a file object, which of the following are legal statements to create a new file.
  13. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  14. An EJB is a server-side component that encapsulates the business logic of an application
  15. Which of the following are keywords?
  16. The default case is always required in the switch selection structure.
  17. We can add more than one class(es) at the time of compilation Java Beans.
  18. What is java -g used for?
  19. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  20. One the features of is that an array can store many different types of values.
  21. The concept of multiple inheritance is implemented in Java by
  22. Which of the following methods can be used to change the size of a size() *resize()
  23. forName() is a static factory method
  24. A static class method can be invoked by simply using the name of the method alone.
  25. Which are the valid ways to create DataInputStream streams?
  26. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  27. Any class may be inherited by another class in the same package.
  28. Submit button always fires doPost(...)
  29. Frames and applets cannot be used together in the same program.
  30. In the code below, what data types the variable x can have?