• ( 1 ) Which of these method of httpd class is used to write UrlCacheEntry object into local disk?

    • 1) writeDiskCache()
    • 2) writetoDisk()
    • 3) writeCache()
    • 4) writeDiskEntry()
    • Discussion in forum
      Answer : 1) writeDiskCache()
      Solution : The writeDiskCache() method takes an UrlCacheEntry object and writes it persistently into the local disk. It constructs directory names out of URL, making sure to replace the slash(/) characters with system dependent seperatorChar.








      discussion


      Answer : 1) writeDiskCache()

    • ( 2 ) HTML based Java Documentary help can be accessed using ______________.

    • 1) javamanual
    • 2) javadoc
    • 3) javahelp
    • 4) None of these
    • Discussion in forum
      Answer : 2) javadoc
      Solution :








      discussion


      Answer : 2) javadoc

    • ( 3 ) What does the java.net.InetAddress class represent?

    • 1) Socket
    • 2) IP Address
    • 3) Protocol
    • 4) MAC Address
    • Discussion in forum
      Answer : 2) IP Address
      Solution :








      discussion


      Answer : 2) IP Address

    • ( 4 ) Which of these class is used for operating on request from the client to the server?

    • 1) http
    • 2) httpDecoder
    • 3) httpConnection
    • 4) httpd
    • Discussion in forum
      Answer : 4) httpd
      Solution :








      discussion


      Answer : 4) httpd

    • ( 5 ) Which of these method of httpd class is used to get report on each hit to HTTP server?

    • 1) log()
    • 2) logEntry()
    • 3) logHttpd()
    • 4) logResponse()
    • Discussion in forum
      Answer : 2) logEntry()
      Solution :








      discussion


      Answer : 2) logEntry()

    • ( 6 ) Which of these methods is used to make raw MIME formatted string?

    • 1) parse()
    • 2) toString()
    • 3) getString()
    • 4) parseString()
    • Discussion in forum
      Answer : 1) parse()
      Solution :








      discussion


      Answer : 1) parse()

    • ( 7 ) JSP embeds in __________in _________

    • 1) Servlet, HTML
    • 2) HTML, Java
    • 3) HTML, Servlet
    • 4) Java, HTML
    • Discussion in forum
      Answer : 4) Java, HTML
      Solution :








      discussion


      Answer : 4) Java, HTML

    • ( 8 ) Which of the following is an open source SOAP server and client?

    • 1) Apache ANT
    • 2) Apache Tomcat
    • 3) Jakarta Struts
    • 4) Apache Axis
    • Discussion in forum
      Answer : 4) Apache Axis
      Solution :








      discussion


      Answer : 4) Apache Axis

    • ( 9 ) Which classes are used for connection-oriented socket programming?

    • 1) Socket
    • 2) ServerSocket
    • 3) Both 1 & 2
    • 4) None of these
    • Discussion in forum
      Answer : 3) Both 1 & 2
      Solution :








      discussion


      Answer : 3) Both 1 & 2





Top