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?

Recommended Answers

All 4 Replies

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.

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.

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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.