Basic Programming 2
Tuesday, December 8th, 2009Last week we talked about Java being an object oriented language, but the second main feature of Java is it’s platform independence.
ä¾å˜ – ã„ãžã‚“ – depend
Javaã¯ãƒ—ラットホームã«ä¾å˜ã‚ã‚Šã¾ã›ã‚“。
Javaã¯ã·ã‚‰ã£ã¨ã»ãƒ¼ã‚€ã«ã„ãžã‚“ã‚ã‚Šã¾ã›ã‚“。
Java is platform independent. (Java is not platform dependent.)
Now, compilation of the source code:
Javaã®ã‚½ãƒ¼ã‚¹ã‚³ãƒ¼ãƒ‰ã‚’コンパイルã™ã‚‹ã¨ã€ã‚¯ãƒ©ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ãŒç”Ÿæˆã•ã‚Œã¾ã™ã€‚
Javaã®ãーã™ã“ーã©ã‚’ã“ã‚“ã±ã„ã‚‹ã™ã‚‹ã¨ã€ãらã™ãµãã„ã‚‹ãŒã›ã„ã›ã„ã•ã‚Œã¾ã™ã€‚
Java source code is compiled, and a class file is created.
This includes the word:
生æˆã™ã‚‹ – ã›ã„ã›ã„ã™ã‚‹ – create, form
As we know, Java compiles to bytecode rather than machine instructions, so:
特定ã®CPUã«ä¾å˜ã—ãªã„ãƒã‚¤ãƒˆã‚³ãƒ¼ãƒ‰ã‚’å«ã¾ã›ãŸã‚¯ãƒ©ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ãŒç”Ÿæˆã•ã‚Œã¾ã™ã€‚
ã¨ãã¦ã„ã®CPUã«ã„ãžã‚“ã—ãªã„ã°ã„ã¨ã“ーã©ã‚’ãµãã¾ã›ãŸãらã™ãµãã„ã‚‹ãŒã›ã„ã›ã„ã•ã‚Œã¾ã™ã€‚
A class file which contains CPU independent bytecode will be created.
This includes the word:
特定 – ã¨ãã¦ã„ – specific
Three new sentences for this week, and three Kanji compounds.