If you do have a background of programming, say, C, pascal, or C++, you won't have much trouble learning Java syntax. The only hurdle you might have to overcome is that you'll have to learn Object-Oriented principles behind the language. Because transferring from procedural programming to OOP there is a large gap to bridged that is the way of thinking how to program. If you're newcomer to programming, well, you might want to learn the basic syntax of programming and its fundamental elements such as variables, control flows and organizations of programs. If you understand English, the best place to start learning Java is the official web site of sun: http://java.sun.com. If you have little or no knowledge of English, choose a textbook of whatever kind you can read on. The secret is: try to get into a bookstore, pick up a java book such as introduction to java or so, keep reading at least half hour; if it attract you, I mean the book keep you reading without boring, hold it (of cource the price may be another critical element that affects your decision). Don't trust any book but those attract you for at least half hour.
用jcreator
边看边敲,从Hello world入手public class A{
public static void main(String args[]){ System.out.println("you can write code");
}
}然后applet然后application然后开始转用Jbuilder然后servlet然后javabean+jsp然后J2EE(JMS,EJB,RMI,.....)然后Weblogic这些垃圾东东配配,ok
关键还是自己多练习---编程
java.com.cn
先熟悉jdk,看书结合练习。
If you're newcomer to programming, well, you might want to learn the basic syntax of programming and its fundamental elements such as variables, control flows and organizations of programs.
If you understand English, the best place to start learning Java is the official web site of sun: http://java.sun.com.
If you have little or no knowledge of English, choose a textbook of whatever kind
you can read on. The secret is: try to get into a bookstore, pick up a java book such as introduction to java or so, keep reading at least half hour; if it attract you, I mean the book keep you reading without boring, hold it (of cource the price may be another critical element that affects your decision).
Don't trust any book but those attract you for at least half hour.