0

1.'Java is platform-independent'- - What's that supposed to mean though the Java run-time package differs from platform to platform;almost similar to creating different compiler for every different machine for the purpose of executing a C/C++ program?

2.'a machine is big-endian'-what does the statement signify?

3.As the Unix OS is entirely made up of C prog.language,is there any OS entirely made up of Java?

4.What do you mean by 'text-based, console programs'?

5.Why is it necessary to enclose every method in a class or interface in JAVA?

4
Contributors
4
Replies
5
Views
10 Years
Discussion Span
Last Post by Debadipta
0

1.'Java is platform-independent'- - What's that supposed to mean though the Java run-time package differs from platform to platform;almost similar to creating different compiler for every different machine for the purpose of executing a C/C++ program?

applications you write in java is platform-independent. java virtual machine needs to be platform independent...

2.'a machine is big-endian'-what does the statement signify?

endianness is basicly means how data is stored in smaller units... read this for more :http://en.wikipedia.org/wiki/Endianness

3.As the Unix OS is entirely made up of C prog.language,is there any OS entirely made up of Java?

it is not a good idea to write an os in java, because how can i say it... its high level language and writing an os requires low level programming...
yet you can program low-level parts with c/asm then wrap them with java... it is much easier to write on top of windows or linux, which already did write these low-level parts...

4.What do you mean by 'text-based, console programs'?

inputs and outputs of these programs are text-based commands... like your terminal application.

5.Why is it necessary to enclose every method in a class or interface in JAVA?

because everything is an object. :) a method is meaningless if it is not belong to an object or class.

0

4.What do you mean by 'text-based, console programs'?

Programs that operate over the standard input and standard output streams, that possibly expect parameters via command line arguments.

5.Why is it necessary to enclose every method in a class or interface in JAVA?

Because Java is a bondage and discipline language.

0

This looks a lot like homework, but what the hell....

3.As the Unix OS is entirely made up of C prog.language,is there any OS entirely made up of Java?

There was JavaOS by Sun, but it's already considered legacy. Pretty much a microkernel with a JVM looks like. There's also an open-source project JNode. So yes, it's possible. No, it's not common and likely never will be.

0

Thnx 2 each one of you for ur help.doubts totally clarified.thnx once again

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.