What is the difference between url instance and urlconnection instance?



What is the difference between url instance and urlconnection instance?..

Answer / Ruchi Porwal

A URL instance in Java represents a network resource's URI (Uniform Resource Identifier). A URLConnection instance, on the other hand, establishes a connection to the resource specified by a URL instance and provides methods for sending and receiving data. In short, a URL is an object that identifies a resource, while URLConnection is an object that connects to and communicates with the identified resource.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Weblogic Interview Questions

How to start node manager?

1 Answers  


What is difference between welogic server and WebSphere?

2 Answers   TCS,


What are the capabilities of weblogic server?

1 Answers  


What is bea weblogic? : BEA Weblogic

1 Answers  


What are the steps in which unicode codesets can be set with the weblogic jdriver?

1 Answers  


How can we know if there is any memory leakages happening? how to overcome the memory leakage situation?

1 Answers  


What is meant by full gc and explain it?

1 Answers  


In how many formats we can deploy an application in wls??

1 Answers  


What are the uses of a middleware server?

1 Answers  


how can you increase heap size from command line

2 Answers   IBM, TCS, Wells Fargo, Wipro,


What is http tunneling? How can we configure it on weblogic?

1 Answers  


What is Connection Pool ?

6 Answers   HCL,


Categories