Home

What is the correct answer?

4

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

A. True

B. False

Correct Answer :

A. True


Related Questions

Which of the following methods can be used to draw the outline of a square? Message-Driven beans act as a listener for the Java Message Service API,… The name of the RMI compiler is ___________ The concept of multiple inheritance is implemented in Java by Which of the following methods can be used to change the size of a size()… A panel can not be added to another panel. forName() is a static factory method An individual array element that is passed to a method and modified in… Which of the following represent legal flow control statements? Which of the following methods belong to the String class? A final class may not have any abstract method. In RMI we invoke client method from remote server Which of the following methods can be used to remove a component from… Which of the following control expressions are valid for an if statement? Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division… Which of the following are not keywords? For all insert, update, delete, query operations on a database, ResultSet… A package is a collection of Which of the following will produce a value of 22 if x=22.9: Which of the following classes are available in the java.lang package? executeUpdate automatically updates data because___________ executeUpdate(------------) returns ___________ Java always provides a default constructor to a class. When present, package must be the first no comment statement in the file. One the features of is that an array can store many different types of… In order to connect to a database through java program we must create… In a single Servlet class we can use____________ If you want to assign a value of 99 to the variable year, then which of… Two methods cannot have the same name in Java. The keywords reserved but not used in the initial version of Java re: