SmileFace
与java一起走过的日子
posts - 41,  comments - 8,  trackbacks - 0


JavaScript and Java are often confused due to their similar names. But that's where most of the similarity ends. JavaScript does resemble Java in a few general ways, but it's a lot looser in terms of data typing, and it's an interpreted language, which means that JavaScript code is compiled at runtime by the client. A Java developer using the Java Developer Kit or a built-in compiler in a Java editor compiles Java, and the compiled code is sent to the client machine to be executed by the Java Virtual Machine (JVM) on the client.

Java and JavaScript are both based on object-oriented models, but Java's compiling requirements, specific data typing restrictions, and object hierarchy requirements, as well as the Java syntax, make Java harder to code, but more powerful. Consequently, JavaScript is more widely adopted for simple development requirements, whereas Java is implemented for more complex functionality.
posted on 2006-05-18 00:21 SmileFace 阅读(270) 评论(1)  编辑  收藏 所属分类: Java-Studying

FeedBack:
# re: Understanding JavaScript and Java
2006-05-25 19:50 | pc

只有注册用户登录后才能发表评论。


网站导航:
 

<2006年5月>
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

常用链接

留言簿(2)

随笔分类

随笔档案

文章档案

搜索

  •  

最新评论

阅读排行榜

评论排行榜