Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply

Join Date: Jun 2006
Posts: 6
Reputation: Debadipta is an unknown quantity at this point 
Solved Threads: 0
Debadipta Debadipta is offline Offline
Newbie Poster

Doubts

 
0
  #1
Feb 21st, 2007
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?
Last edited by Debadipta; Feb 21st, 2007 at 9:25 am.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 121
Reputation: tonakai is an unknown quantity at this point 
Solved Threads: 11
tonakai's Avatar
tonakai tonakai is offline Offline
Junior Poster

Re: Doubts

 
0
  #2
Feb 22nd, 2007
Originally Posted by Debadipta View Post
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...

Originally Posted by Debadipta View Post
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

Originally Posted by Debadipta View Post
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...

Originally Posted by Debadipta View Post
4.What do you mean by 'text-based, console programs'?
inputs and outputs of these programs are text-based commands... like your terminal application.

Originally Posted by Debadipta View Post
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.
Good news, everyone!
aykutsoysal.com
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,999
Reputation: Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice 
Solved Threads: 137
Team Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Super Senior Demiposter

Re: Doubts

 
0
  #3
Feb 23rd, 2007
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.

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.
All my posts may be redistributed under the GNU Free Documentation License.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,582
Reputation: Infarction has a spectacular aura about Infarction has a spectacular aura about Infarction has a spectacular aura about 
Solved Threads: 52
Infarction's Avatar
Infarction Infarction is offline Offline
Battle Programmer

Re: Doubts

 
0
  #4
Feb 24th, 2007
This looks a lot like homework, but what the hell....
Originally Posted by Debadipta View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 6
Reputation: Debadipta is an unknown quantity at this point 
Solved Threads: 0
Debadipta Debadipta is offline Offline
Newbie Poster

gratitude

 
0
  #5
Mar 9th, 2007
Thnx 2 each one of you for ur help.doubts totally clarified.thnx once again
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Computer Science Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC