• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java methods every beginner should memorize  RSS feed

 
Sushant Kunwara
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, the more i learn java , the more packages ,more classes , more methods i come across. What are those classes and methods that you guys think every beginner should learn by heart - The Bare minimum ?? And after that learned where should he proceed ?? Assume by beginner , i mean someone in undergraduate college getting serious for java .... ?? Thanks in advance ...
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37462
537
Eclipse IDE Java VI Editor
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't think of any class that you need to memorize in it's entirety. Even basic classes like String and ArrayList have some common methods and some you hardly use.

You do have to become very familiar with the JavaDoc so you can find these methods quickly. And as you practice writing code, you will eventually remember the common ones without looking up anything.
 
Stefan Evans
Bartender
Posts: 1837
10
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The javadoc being huge though, I would recommend a starting to get familiar with these packages:

java.lang
java.util
java.io

Get a basic understanding of what classes are in these packages, and when to use them.

Moving on from that:
java.text
java.sql

I will admit I lean on my IDE (Eclipse) for providing autocomplete of functions I don't use so often.
 
Liutauras Vilda
Sheriff
Posts: 4913
334
BSD
  • Likes 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And I would suggest you to stay away from IDE's at the very early stage, instead use plain text editor and javac compiler from command line.
It should help you better memorise at least standard packages and classes, as you'll have to type import statements manually.
It is important, that every piece of code would be written by you, not copied and pasted from somewhere. Better rewrite it, rather than copy/paste it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!