Home

What is the correct answer?

4

When we implement an interface method, it should be declared as public.

A. True

B. False

Correct Answer :

A. True


Related Questions

Frames and applets cannot be used together in the same program. A JSP file can be stored_________________ All methods in an abstract class must be declared abstract. What is error in the following class definitions? abstract class… A package is a collection of Members of a class specified as private are accessible only to the methods… Which of the following will produce a value of 22 if x=22.9: Which of the following represent legal flow control statements? Which of the following string can be used as mode string for creating… The concept of multiple inheritance is implemented in Java by In RMI we invoke client method from remote server Session bean forName() is a static factory method For all insert, update, delete, query operations on a database, ResultSet… A catch can have comma-separated multiple arguments. An EJB is a server-side component that encapsulates the business logic… Which of the following statements are valid array declarations? executeUpdate automatically updates data because___________ DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend… Which of the following statements are true? Throwing an exception always causes program termination. A Java monitor must either extend thread class or implement Runnable interface. Give file is a file object, which of the following are legal statements… The check box group class is a subclass of the component class. Which of the following will produce a value of 10 if x = 9.7? Submit button always fires doPost(...) With javadoc, which of the following denotes a javadoc comment? Every method of a final in class is implicitly final. Servlet can have ___________ Which javadoc tag is used to denote a comment for methods parameters?