Method to use Java’s Integer and Double classes

Asked By 0 points N/A Posted on -
qa-featured

Hello there!

I like to use Java’s Integer and Double classes. 

I wonder if there is any specific method to follow for both of them. Would it be possible for you to provide me a systematic and organized list of methods of both classes (not the primitive data types)?

I would really appreciate your response.

Thanks.
 

SHARE
Answered By 0 points N/A #107098

Method to use Java’s Integer and Double classes

qa-featured

Hi there,

Yes there is a complete documentation of these classes available on the Oracles website. They main thing is what is your requirement that your are trying to fulfill with these classes if you are using Netbeans or any other IDE i.e. Eclipse, you will be able to see the complete list of available methods of the classes within your code while you are writing it.

The basic way of using these classes with their name i.e. “Integer” and “Double” and you will be able to get the list of available methods by putting a dot after them  there is complete documentation online available on the following link:
https://docs.oracle.com/javase/9/docs/api/java/lang/Double.html
https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html

Related Questions