Consider the following statements: I. telnet, ftp and http are application…

2004

Consider the following statements:
I. telnet, ftp and http are application layer protocols.
II. EJB (Enterprise Java Beans) components can be deployed in a J2EE (Java2 Enterprise Edition) application server. 
III. If two languages conform to the Common Language Specification (CLS) of the Microsoft.NET framework, then a class defined in any one of them may be inherited in the other.
Which statements are true?

Answer: D. I, II and IIIAnswer: All three statements are true. Statement I: telnet, ftp and http are application-layer protocols. These protocols operate at the application layer of…

  1. A.

    l and II only

  2. B.

    II and III only

  3. C.

    l and III only

  4. D.

    I, II and III

Attempted by 25 students.

Show answer & explanation

Correct answer: D

Answer: All three statements are true.

  • Statement I: telnet, ftp and http are application-layer protocols. These protocols operate at the application layer of the TCP/IP model and provide end-user services such as remote login, file transfer, and web access.

  • Statement II: EJB components can be deployed in a J2EE application server. Enterprise Java Beans are server-side components designed to run inside a J2EE (Java EE) application server which provides services like transaction management and security.

  • Statement III: If two languages conform to the .NET Common Language Specification (CLS), a class defined in one can be inherited in the other. CLS defines rules for language interoperability on the .NET runtime, so CLS-compliant types are usable across languages. Note: inheritance across languages requires the type to be accessible and not sealed and the members used must be CLS-compliant.

Therefore, all three statements are correct.

Explore the full course: Accenture Preparation

Loading lesson…