Must learn classes for Java!

What do you consider the key / important classes for all java beginners to learn to understand the funadmentals of the language?

String, Array, Scanner, File, PrintWriter, etc.

+3
source share
3 answers

Besides the simplest things, such as primitive types, the following comes to mind. This is not complete, but this is what I most often use

  • Input / output with files and command line: BufferedReader/ BufferedWriter/ Scanneretc.
  • Java Collection Structure: All Classes List, SetandMap
  • Thread / Runnable: Besides what classes do, knowledge of deadlock, thread safety, and synchronization are key.
+5
source
+5

For Java beginners, I would suggest "Head First Java." The brain-friendly mechanisms adopted by First First executives help beginners understand, understand, and remember the basic principles. HFJ focuses on the most commonly used Java API.

For a complete study of HFJ, I highly recommend thinking in Java: Bruce Eckel --- IMO is one of the greatest books in Java.

0
source

Source: https://habr.com/ru/post/1762150/


All Articles