Chapter 1 of Java Textbooks in the country, always talks about Java generation and development, the characteristics and superiority of Java language; Java applications and small applications; Java toolkit JDK; editing, compilation and operation of Java programs; JAVA Develop tools introduction and use.
This is right, the author's goal is to let us know, Java is a good, famous door, we must respect her, learn Java is a serious thing.
Of course, there are also different numbers. It is said that Chapter 1 should be the last chapter, I don't know what you think. In fact, we use the characteristics and superiority of Java - [Java (as a programming language), we are a simple, object-oriented, network universal, interpretation, robust, safe, structure, strong transplantability, High performance,) multi-threaded, dynamic language] - Write a few pieces of paper to you, don't blame you.
Our beginners really want to know, is Java good. Well, Java is fun.
§1 Java is the most cattle language
Why learn Java because it is cattle. Look at the list of programming languages (2005-1), don't you learn the most wide language app? You look again: Developer.com publishes the list of winners of the 2005 product competition, do you not want to learn the best language?
If someone is arguing, all languages in the world have its application, C is the best, VB is the best ..., let's go away. It doesn't say that it is nothing to discuss the language of that language (if someone says, let him see "Programming Language - Design and Realize 4E", the author discussing the advantages and disadvantages?), Mainly because we have not really truly Master Java, we have not eligible to discuss the quality of the language. Right?
In short, I said Java cattle, there is no big mistake. In order to avoid the intensity of the contradiction between the people, we are always ready to say:
I admire LISP, ML and ProLog. (different)
I admire SmallTalk and Eiffel. (pure)
I admire PHP and Python, Perl. (Hyun)
I have a little admire VB and Dephi. (fast)
I admire Perl and Parrot, Python, Groovy. (move)
I admire C. (牪)
I admire C (cow)
I admire the machine language (Run)
I also admire Java in the end. (Cattle)
About some people say that he "will" 7-8 languages, we have also admired, of course, there is a guy to write books with Java, C , C #, Delphi Pascal, Apple Object Pascal, Python, Clos, Eiffel, Objective-C, SMALLTALK, RUBY, BETA, etc. I have been very admired. [Reference: Timothy Budd "Object-Oriented Programming" Tsinghua University Press]
§2 Can Java Short-term Society
If you think that you will write a Java program, you can learn if you have learned.
Why do you have two days? After all, we have to download JDK, it is possible for a few hours. Downloading tired, we have to play games, this will be a day; in order to express us will java, we have to look at the book, back HelloWorld (take a book, it is not professional), if you can let the program run, huh, We will java. Of course, if we ask yourself a little higher, it may not be learned in a lifetime. Let's take a look at the Java map, Sun is ambitious, want to eat desktop programming, network programming, mobile phone programming, they want to say: I will give you a Java, you can be shake Microsoft.
In short, there are millions of Java programmers in the world. Everyone is learning and studying Java, and we should not be intimidated by Java's broad profession, and don't want to master all Java (you get Java all, a few Millions of Java programmers are laid off.)
The real goal, we learn Java's first step, you should get Core Java. Behind we also study around this part. The range of Core Java, you refer to Sun certified Java Programmer - A scope of the SCJP (SL-275) exam.
Some said that the scjP exam range is "a mile width one inch", this is what we have to pay attention to, we have to learn from one meter.
This stage, it is best to use a year. If you feel too long, think about our primary school in 5-6 years of math, primary school 5-6 years, may now make it to get it in one day. In fact, there are many things that require time precipitation.
This topic is too big, only one sentence we can say: I will enter a small step every day ...
§3 What Java tutorial is looking for?
I have reviewed a lot of Java textbooks, monograph and online articles, in fact, did not find a "best path" to learn Java. In fact, we can't find a Bible studying Java. Only what you wrote to yourself can meet all your requirements.
Why do I learn Java (Target, Work Supply, I want to learn Java (depth), how much time I want to learn Java (I am a big one is a big four, still work), my English level ...
There is a "Thinking in Java", which is really good. However, it is not necessarily suitable for certain beginners. At the same time, I told you that Chen Yi once joke: In front of the general, I am a poet; in front of the poet, I am general.
In fact, you will design Timothy A.Budd .. object-oriented programming (3rd edition) plus a blessing Java book in the garbage pile, you can reach the extent of "Thinking In Java".
Slow down, before throwing eggs, you think: Why not write textbooks to yourself? If we are ready to learn Java with a year. I have written textbooks to myself, and I don't need 1000 pages. We only need an outline; all Java knowledge is able to bring together this outline.
Of course, we have to buy a paper Java textbook, pay attention: I will throw it after reading. If you have bought a Java textbook, if you read it, you are ready to collect, this book is not suitable for you. Our high school textbook is thrown, right? After learning the textbook, you should remain a directory! It is worth collecting, it is not you should buy. For example, JDK documents [Java 2 Platform API Specification] and Java Language Script [The Java Language Specification] and The Java Virtual Machine Specification. They must be downloaded and collected.
Conduct, I have fewer teaching materials, the recommended textbook is English version (you can find the electronic version):
1. Core Java 2, Vol.i - Fundamentals (0-13-089468-0),
2. Core Java 2, Volume II: Advanced
3. Thinking in Java
4. Java 2: a Beginner's Guide, 2nd Ed.
5. Data Structures & Algorithms in Java
6. Sun Certfied Java Programmer Exam (SCJP) Related Websites and Books
I have seen it for a year.
§4 What is Java
Forgot to introduce, what is Java. When we mention Java, it may be three interests:
Java Language: Java Virtual Machine (JVM): The environment used to execute the Java program, the Java platform. The Java platform is built on the operating system. Therefore, JVM has many versions, such as Linux and Windows. With JVMs that are applied to a variety of operating systems, the Java program can be executed on different OS platforms, which is the famous "one write, run everywhere". Java APIS: Refers to the program design interface provided in the form of class libraries, which is a set of pre-defined classes. Can be used directly in your program, these things are free, we often have to look at their source code.
So, when people mention 'learning Java', more often refer to Java language and API (class libraries).
§5 java background knowledge
Although these things are fun, it is also necessary to understand, but there are too many content, everyone goes by Google.
For example, why is it called Java? The simplest answer is: Java is what its developer is thinking, and the favorite name is because it sounds cool.
As for who is the first suggestion to use Java, is it the only candidate name? At least there are tens of thousands of English words, I have time to post it again.
The characteristics of Java language? Bytecode (later referred to as a class file or .class file). Java implements the secrets of portable and safe, which is the Java's bytecode (Bytecode).
What is JDK (THE JAVA 2 SDK), JVM (JRE), Java 2 Platform, Java 5, J2SE, J2ME, and J2EE? What can java do? What is the shortcoming of Java? Java and C # relationship? ......
Ha ha……