masterof_none
20-05-2003, 09:47 PM
Hi,
Yesterday , I spent so much time on anime that I didn;t have a chance to post.What;s your favorite anime?..Please recommend it to me at masterof_none@<hidden>
hmm..better put anime slot right here at RC.what do u think?
OK, then, done with anime, we move on.
Java programming language created as a result of research by Sun Microsystem to provide a solution for the cross platform programming language. Their first attempt is actually not to create a new programming language, rather, they try to clean up all C++ evil syntax that can lead to unnecessary bug. things like memory allocation, etc.
anyway, then the name the project the Green Project.
so, since they've modified so much in C++ , they decide to create a whole new language.They name it Oak.
Unfortunately, somebody has taken that name. so,
in one fine day, they went to Java coffee shop and they decide to name the new programming language, Java.
Why Java is different?
Designed for embedded device and cross platform, it;s slogan is
"write once, run anywhere".
Java become popular during Internet boom, where it has been used pervasively for Internet.
Unlike Perl, which is intepreted language, and C++, which is a compiled language, Java is both compiled and intepreted.
so,
SourceCode.java----->compile---->SourceCode.class
SourceCode.class----->intepret---->run
so the compiler is called
javac (java compiler, I suppose)
and the intepreter is
java
so, if you've written a source code:
HelloRC.java,
you compile like this,
javac HelloRC.java
and to tun the program, use intepreter java,
java HelloRC
note, we don;t have to put the .class thing.
like this
java HelloRC.class //ek ek, wrong
OK, tomorrow, we'll write, HelloRC.java,
and run it.
see ya tomorrow.
Yesterday , I spent so much time on anime that I didn;t have a chance to post.What;s your favorite anime?..Please recommend it to me at masterof_none@<hidden>
hmm..better put anime slot right here at RC.what do u think?
OK, then, done with anime, we move on.
Java programming language created as a result of research by Sun Microsystem to provide a solution for the cross platform programming language. Their first attempt is actually not to create a new programming language, rather, they try to clean up all C++ evil syntax that can lead to unnecessary bug. things like memory allocation, etc.
anyway, then the name the project the Green Project.
so, since they've modified so much in C++ , they decide to create a whole new language.They name it Oak.
Unfortunately, somebody has taken that name. so,
in one fine day, they went to Java coffee shop and they decide to name the new programming language, Java.
Why Java is different?
Designed for embedded device and cross platform, it;s slogan is
"write once, run anywhere".
Java become popular during Internet boom, where it has been used pervasively for Internet.
Unlike Perl, which is intepreted language, and C++, which is a compiled language, Java is both compiled and intepreted.
so,
SourceCode.java----->compile---->SourceCode.class
SourceCode.class----->intepret---->run
so the compiler is called
javac (java compiler, I suppose)
and the intepreter is
java
so, if you've written a source code:
HelloRC.java,
you compile like this,
javac HelloRC.java
and to tun the program, use intepreter java,
java HelloRC
note, we don;t have to put the .class thing.
like this
java HelloRC.class //ek ek, wrong
OK, tomorrow, we'll write, HelloRC.java,
and run it.
see ya tomorrow.