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. A string object can not be modified after it is created.
  2. A method declared as static can not access non-static class members.
  3. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  4. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  5. It is an error to have a method with the same signature in both the super class and its subclass.
  6. executeUpdate automatically updates data because___________
  7. A final class may not have any abstract method.
  8. Two methods cannot have the same name in Java.
  9. Which of the following methods can be used to remove a component from the display?
  10. The name of a Java program file must match the name of the class with the extension Java.
  11. Consider the following class definitions: class maths { student student1; } class student { String name;…
  12. Which of the following will produce a value of 10 if x = 9.7?
  13. Declaring a method synchronized guarantees that the deadlock cannot occur.
  14. The modulus operator (%) can be used only with Integer operands.
  15. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  16. A variable declared inside the for loop control can not be referenced out side the loop.
  17. JdbcOdbcDriver is an object of Object class
  18. executeUpdate(------------) returns ___________
  19. Which of the following command lines options generates documentation for all classes and methods?
  20. When we implement the Runnable interface, we must define the method
  21. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  22. Which of the following are keywords?
  23. Frames and applets cannot be used together in the same program.
  24. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  25. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  26. Which of the following methods can be used to change the size of a size() *resize()
  27. In the code below, what data types the variable x can have?
  28. DataInput is
  29. An individual array element that is passed to a method and modified in that method will contain the…
  30. Java is fully object oriented programme.