Home

Which of the following keywords are used to control access to a class member?

A. default

B. protected

C. interface

D. None of the above

You can do it
  1. A catch can have comma-separated multiple arguments.
  2. What does the following line of code do?TextField text=new TextField(10);
  3. Every method of a final in class is implicitly final.
  4. A string object can not be modified after it is created.
  5. The check box group class is a subclass of the component class.
  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 default case is always required in the switch selection structure.
  8. Members of a class specified as private are accessible only to the methods of the class.
  9. Which of the following methods can be used to draw the outline of a square?
  10. All the bitwise operators have the same level of precedence in Java.
  11. Which are the valid ways to create DataInputStream streams?
  12. The import statement is always the first no comment statement in a Java program files.
  13. The programmer must explicitly create the system .in and system .out objects.
  14. Java is fully object oriented programme.
  15. The setBackground() method is part of the class
  16. When we implement an interface method, it should be declared as public.
  17. Which of the following control expressions are valid for an if statement?
  18. A package is a collection of
  19. An individual array element that is passed to a method and modified in that method will contain the…
  20. Session bean
  21. Which javadoc tag is used to denote a comment for methods parameters?
  22. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  23. A JSP file can be stored_________________
  24. Frames and applets cannot be used together in the same program.
  25. A static class method can be invoked by simply using the name of the method alone.
  26. With javadoc, which of the following denotes a javadoc comment?
  27. It is perfectly legal to assign a subclass object to a supper class reference.
  28. A Java monitor must either extend thread class or implement Runnable interface.
  29. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  30. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…