Home

Which of the following are keywords?

A. integer

B. default

C. Boolean

D. Object

You can do it
  1. A static class method can be invoked by simply using the name of the method alone.
  2. Consider the following class definitions: class maths { student student1; } class student { String name;…
  3. The use of protected keyword to a member in a class will restrict its visibility as follows:
  4. An EJB is a server-side component that encapsulates the business logic of an application
  5. When present, package must be the first no comment statement in the file.
  6. Which of the following will produce a value of 22 if x=22.9:
  7. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  8. A Java monitor must either extend thread class or implement Runnable interface.
  9. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  10. Which of the following command lines options generates documentation for all classes and methods?
  11. Which of the following statements are valid array declarations?
  12. We would like to make a member of a class visible in all subclasses regardless of what package they…
  13. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  14. What does the following line of code do?TextField text=new TextField(10);
  15. The break statement is required in the default case of a switch selection structure.
  16. Which of the following are the wrapper classes?
  17. Which of the following methods can be used to change the size of a size() *resize()
  18. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  19. What is java -g used for?
  20. Session bean
  21. Which of the following represent legal flow control statements?
  22. The default case is always required in the switch selection structure.
  23. Java is fully object oriented programme.
  24. DataInput is
  25. The modulus operator (%) can be used only with Integer operands.
  26. In RMI we invoke client method from remote server
  27. EJBs can be of the following type(s)None of the above
  28. Which javadoc tag is used to denote a comment for methods parameters?
  29. Which of the following statements are true?
  30. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…