文章分类 -  Java

摘要:Continue to the Learning Java 2th, here we are going to talk about the differences between Java and C#.1. Constructor 1) static constructor: java allows multi static constructors, but in C#, static constructor can be only one./**java code*/public class Test{ static{ //static operations... 阅读全文
posted @ 2013-11-17 11:22 teroy 阅读(139) 评论(0) 推荐(0)
摘要:Suppose you are familiar with C#, so this article will not tell the most basic Java features, all I want to talk about is comparisons between Java and C#. Here we go.1. Naming conventions In Java, every method's name begins with a lowercase. The same to the package name.2. Special reservedwords 阅读全文
posted @ 2013-10-24 20:32 teroy 阅读(128) 评论(0) 推荐(0)
摘要:1. What is JDK? JDK is short for Java Development Kit. It includes Java runtime environment, Java tools, Java foundation class libaray(src.tar) etc.U... 阅读全文
posted @ 2013-10-23 19:38 teroy 阅读(183) 评论(0) 推荐(0)