- Home
- Placement
- Programming
- Networking
- Array
- Data Types
- Functions
- Loop & Control Statements
- Operators & Expressions
- Pointer
- Preprocessor
- Storage Classes
- Structure & Union
- Variables & Constants
- Classes and Objects
- Consructors and Destructors
- Exception handling
- File Handling
- Function Overloading
- Inheritance
- Operator Overloading
- Polymorphism
- Templates
C Language
C++ language
JAVA
-
-
( 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()
-
Show Answer Report Discussion in forumAnswer : 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
-
Show Answer Report Discussion in forumAnswer : 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
-
Show Answer Report Discussion in forumAnswer : 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
-
-
-
( 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()
-
Show Answer Report Discussion in forumAnswer : 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()
-
Show Answer Report Discussion in forumAnswer : 1) parse()
Solution :
discussion
Answer : 1) parse()
-
-
-
( 7 ) JSP embeds in __________in _________
- 1) Servlet, HTML
- 2) HTML, Java
- 3) HTML, Servlet
- 4) Java, HTML
-
Show Answer Report Discussion in forumAnswer : 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
-
Show Answer Report Discussion in forumAnswer : 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
-
Show Answer Report Discussion in forumAnswer : 3) Both 1 & 2
Solution :
discussion
Answer : 3) Both 1 & 2
-
-
-
( 10 ) Which package provides core functionality?
- 1) java.net
- 2) java.rmi
- 3) java.lang
- 4) java.math
-
Show Answer Report Discussion in forumAnswer : 3) java.lang
Solution :
discussion
Answer : 3) java.lang
-