Asked By
DeWitt
0 points
N/A
Posted on - 11/07/2011
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.
Method to use Java’s Integer and Double classes
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