Home >Java >javaTutorial >There are several stages to learning Java. What are they?
I was very confused when I was self-study many years ago. When I asked questions on the Internet, there were always a bunch of laypeople saying it was difficult. You need this or that. Otherwise, a bunch of people just said empty words. Read more and write more. I'm speechless about buying a good book. Apart from these, don't I have some thoughts of my own?
First of all, many people think that learning JAVA requires a C foundation, but in fact, it is not necessary. When learning to drive, I don’t want to learn to ride a bicycle first. It is not necessary.
The first stage:
1. JAVA syntax and basics, including loops. . And class-related content, such as implementation, inheritance, etc.
2. You need to master several key collections, the two subclasses of the List interface, LinkedList, ArrayList; and then the two subclasses of the Map interface, HashMap, HashTable; Set Interface It is easy to learn Set after mastering List; master the difference between Collection and Collections
3. Master the IO chapter, the key streams InputStream, OuputStream; BufferedReader, BufferedWrite;
ObjectInputStream, ObjectOutputStream,, PrintWriter, FileReader , FileWriter understands JAVA serialization and masters JAVA's File class
4. JDBC is very important, focus on mastering Connection, PreparedStatement, Statement, ResultSet,
Others can be learned again if you encounter them in study or projects, but In the early stage, focus on mastering the first few, and understand the others enough.
Database recommends novices use MySql and download Navicat for MySQL management tool
5. If you want to get started quickly, then you need to skip these,
Including: Threading, network programming, GUI programming
Okay, now you can enter the second stage
1. HTML+JAVASCRIPT Needless to say, how much you master depends on you Now, understand CSS
2. JSP+Servlet, you need to focus on mastering a few, Request, Response, Session, followed by Application.
In addition, you need to know the difference between Redirect and ForWard, and the life of Servlet Cycles, etc.
3. In terms of tags: (1) Master EL expressions; (2) It is best to master JSTL tags. It’s okay if you don’t know it, but if you master JSP tags, learning JSTL is also very simple. The focus is on iterating tags and Formatting tags,
4. To learn AJAX, just keep it simple, no need to study in depth
5. After mastering the above, you can continue to learn the framework: Struts2.0; Hibernate3; Spring 2.0
6. If If you have done all the above, and if you have done 2 to 3 projects during the period, OK you can start working
This is just a little guidance I give to newcomers, not everything you need to learn about JAVA.
The above is the detailed content of There are several stages to learning Java. What are they?. For more information, please follow other related articles on the PHP Chinese website!