Home

Members of a class specified as private are accessible only to the methods of the class.

A. True

B. False

You can do it
  1. Which of the following are the wrapper classes?
  2. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  3. To delete a file, we can use an instance of class file.
  4. Which of the following statements are true?
  5. Declaring a method synchronized guarantees that the deadlock cannot occur.
  6. Which of the following keywords are used to control access to a class member?
  7. In a single Servlet class we can use____________
  8. Session bean
  9. A method declared as static can not access non-static class members.
  10. The setBackground() method is part of the class
  11. Java is fully object oriented programme.
  12. Objects are passed to a method by use of call-by-reference.
  13. executeUpdate automatically updates data because___________
  14. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  15. The methods wait() and noify() are defined in
  16. Consider the following class definitions: class maths { student student1; } class student { String name;…
  17. Two methods cannot have the same name in Java.
  18. Java always provides a default constructor to a class.
  19. A string object can not be modified after it is created.
  20. A static class method can be invoked by simply using the name of the method alone.
  21. executeUpdate(------------) returns ___________
  22. The name of the RMI compiler is ___________
  23. Which of the following command lines options generates documentation for all classes and methods?
  24. Given the codeString s = new String("abc");Which of the following calls are valid?
  25. Which of the following represent legal flow control statements?
  26. We can add more than one class(es) at the time of compilation Java Beans.
  27. A final class may not have any abstract method.
  28. Frames and applets cannot be used together in the same program.
  29. Which of the following methods can be used to change the size of a size() *resize()
  30. The modulus operator (%) can be used only with Integer operands.