adplus-dvertising
frame-decoration

Question

In Java, which of the following statements is/are True?

S1: The ‘final’ keyword applied to a class definition prevents the class from being extended through derivation.
S2: A class can only inherit one class but can implement multiple interfaces.
S3: Java permits a class to replace the implementation of a method that it has inherited. It is called method overloading.

a.

S1 and S2 only

b.

S1 and S3 only

c.

S2 and S3 only

d.

All of S1, S2 and S3

Answer: (a).S1 and S2 only

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. In Java, which of the following statements is/are True? S1: The ‘final’ keyword applied to a class definition prevents the class from being extended through derivation. S2: A...

Similar Questions

Discover Related MCQs

Q. An XML document that adheres to syntax rules specified by XML 1.0 specification in that it must satisfy both physical and logical structured, is called :

Q. Which of the following statement(s) is/are TRUE regarding Java Servelets?

(a) A Java Servelet is a server-side component that runs on the web server and extends the capabilities of a server.
(b) A Servelet can use the user interface classes like AWT or Swing.

Q. Which of the following statements is/are TRUE?

(a) In HTML, character entities are used to incorporate external content into a web page, such as images.
(b) Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server.

Q. Which of the following statements is/are TRUE regarding JAVA?

(a) Constants that cannot be changed are declared using the ‘static’ keyword.
(b) A class can only inherit one class but can implement multiple interfaces.

Q. What is the full form of WWW?

Q. What is the full form of Email?

Q. What is the full form of FTP?

Q. What is the full form of LAN?

Q. ISP is an acronym of

Q. Which of the following layers of the TCP/IP references model routes packets?

Q. Networks of computers connected over greater distances are called

Q. Which of the following is not a layer in the TCP/IP reference model?

Q. How many bits are their in an IP address?

Q. Rules contained in programs on router computers that determine the best path on which to send packets are called

Q. What is the top-level domain in www.yahoo.com/sports

Q. Which of the following protocols is used to send and receive emails?

Q. Which of the following protocols is used to transfer files over a network?

Q. Which of the following is a transport layer protocol in the TCP/IP protocol suite?

Q. Which of the following is used to retrieve mails from remote mail server?

Q. Which of the following application layer protocols uses UDP as its underlying transport protocol?