1.

Which of these is an instance variable of class httpd?(a) port(b) cache(c) log(d) All of the mentionedI got this question in unit test.I want to ask this question from Networking topic in section Serialization & Networking of Java

Answer»

The CORRECT CHOICE is (d) All of the mentioned

To explain: There are 5 instance VARIABLES: PORT, docRoot, log, CACHE and stopFlag. All of them are private.



Discussion

No Comment Found

Related InterviewSolutions