What is the main libraries in java and their use ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the main libraries in java and their use ?

1st Aug 2017, 1:04 PM
3Azda Utd
3Azda Utd - avatar
2 Answers
+ 4
You can find it here http://docs.oracle.com/javase/7/docs/api/index.html&hl=en-NG But here is a list of things to know: java.lang is for all the basic classes that are actually imported automatically (implicitly) because it is all the basic ones (String, Integer, Double, etc) java.util contains all your data structures you learned in school and more. Read the documentation, and the more you know and practice, the better java.io for file reading. Look into java.util.Scanner for simple file reading, but for any more complicated, low level file reading info, use java.io, its built for efficiency, while Scanner is for simplicity java.math if you ever need to use arbitrary precision values (built-in in python, not in java) java.net for sockets, connections, etc javax.swing for GUI, which is an extension of the older java.awt Hope that helps.
1st Aug 2017, 1:26 PM
Eremie Gillowei
Eremie Gillowei - avatar
+ 1
Thanks it sure helps
1st Aug 2017, 1:33 PM
3Azda Utd
3Azda Utd - avatar