Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Must learn classes for Java! [closed]

Tags:

java

What would you consider the key/important classes for all java beginners to learn to grasp the funadamentals of the languag?

String, Array, Scanner, File, PrintWriter etc ?

like image 622
Garee Avatar asked Sep 19 '26 12:09

Garee


2 Answers

Aside from the very basic things like primitive types, the following come to mind. This isn't complete, but these are the things that I find myself using most frequently

  • Input/output with files and command line: BufferedReader/BufferedWriter/Scanner, etc.
  • Java Collections Framework: All the List, Set, and Map classes
  • Thread/Runnable: Beyond what the classes do, knowledge about deadlock, thread safety, and synchronization are all key.
like image 167
Dave McClelland Avatar answered Sep 22 '26 02:09

Dave McClelland


A good starting point is the trail in the Java Tutorials on the Essential Classes. From there you'll definitely branch off in different directions depending on what kind of programming you do.

like image 40
Bill the Lizard Avatar answered Sep 22 '26 00:09

Bill the Lizard



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!