- -
Doubts (
http://www.daniweb.com/forums/thread70604.html)
| Debadipta | Feb 21st, 2007 9:25 am | |
| Doubts 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? |
| tonakai | Feb 22nd, 2007 7:16 am | |
| Re: Doubts Quote: Originally Posted by Debadipta (Post 318322) 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...
Quote: Originally Posted by Debadipta (Post 318322) 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
Quote: Originally Posted by Debadipta (Post 318322) 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...
Quote: Originally Posted by Debadipta (Post 318322) 4.What do you mean by 'text-based, console programs'? | inputs and outputs of these programs are text-based commands... like your terminal application.
Quote: Originally Posted by Debadipta (Post 318322) 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. |
| Rashakil Fol | Feb 23rd, 2007 5:53 pm | |
| Re: Doubts Quote: Originally Posted by Debadipta 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.
Quote: Originally Posted by Debadipta 5.Why is it necessary to enclose every method in a class or interface in JAVA? | Because Java is a bondage and discipline language. |
| Infarction | Feb 24th, 2007 5:59 am | |
| Re: Doubts This looks a lot like homework, but what the hell....
Quote: Originally Posted by Debadipta (Post 318322) 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. |
| Debadipta | Mar 9th, 2007 9:38 am | |
| gratitude Thnx 2 each one of you for ur help.doubts totally clarified.thnx once again |
| All times are GMT -4. The time now is 8:50 pm. | |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC