Explain the reading documentation for a class in the class, JAVA Programming

Assignment Help:

Explain the Reading documentation for a class in the class library

For instance, let's suppose you need to use the URL class in the java.net package. Through reading the documentation for the class you discover that it has the subsequent public methods and constructors:

public URL(String protocol, String host, int port, String file)
throws MalformedURLException
public URL(String protocol, String host, String file)
throws MalformedURLException
public URL(String spec) throws MalformedURLException
public URL(URL context, String spec) throws MalformedURLException
public int getPort()
public String getFile()
public String getProtocol()
public String getHost()
public String getRef()
public boolean equals(Object obj)
public int hashCode()
public boolean sameFile(URL other)
public String toString()
public URLConnection openConnection() throws IOException
public final InputStream openStream() throws IOException
public static synchronized void
setURLStreamHandlerFactory(URLStreamHandlerFactory factory)

You use this class only like you'd use any other class with these techniques which happens to be named java.net.URL.


Related Discussions:- Explain the reading documentation for a class in the class

How virtual communities are formed, How virtual communities are formed? How...

How virtual communities are formed? How these are different from other Communities? Give examples. Virtual Communities are interest-based communities. Members along with genera

Dialog window in Oracle by Java stored procedure, Is it possible to create ...

Is it possible to create any dialog window in Oracle in Java stored procedure?

What do you mean by bean wiring, The act of making associations between app...

The act of making associations between application components (beans) within the Spring container is reffered to as Bean wiring.

Differentiation between if statement and a switch statement, Differentiatio...

Differentiation between if statement and a switch statement ?

Finding highest and lowest numbers, Hi i need help creating a small program...

Hi i need help creating a small program that basically asks the user how many numbers hes going to use and then ask for those numbers and see which is the biggest and the smaller

Explain switch statement in java language, Explain switch statement in java...

Explain switch statement in java language? Switch statements are shorthands for a certain type of if statement. It is not common to see a stack of if statements all related

Explain what is orm, Object Relational Mapping , its a tool for transaction...

Object Relational Mapping , its a tool for transaction management that requires to be integrated with Spring, Struts etc.Eg : Hibernate, i Batis,JDO etc

State how many arguments were passed using length property, Determine how m...

Determine how many arguments were passed using length property In java, array knows their size by using the length property. By using, length property we can determine how many

Test phases and cycles? , 1. Unit tests :There are two popular processe...

1. Unit tests :There are two popular processes to testing server-side classes: mock objects, which test classes by checking the server container, and in-container testing, which

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd