943,876 Members | Top Members by Rank

Ad:
Feb 21st, 2007
0

Doubts

Expand 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?

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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Debadipta is offline Offline
6 posts
since Jun 2006
Feb 22nd, 2007
0

Re: Doubts

Click to Expand / Collapse  Quote originally posted by Debadipta ...
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...

Click to Expand / Collapse  Quote originally posted by Debadipta ...
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

Click to Expand / Collapse  Quote originally posted by Debadipta ...
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...

Click to Expand / Collapse  Quote originally posted by Debadipta ...
4.What do you mean by 'text-based, console programs'?
inputs and outputs of these programs are text-based commands... like your terminal application.

Click to Expand / Collapse  Quote originally posted by Debadipta ...
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.
Reputation Points: 25
Solved Threads: 11
Junior Poster
tonakai is offline Offline
121 posts
since Feb 2005
Feb 23rd, 2007
2

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.
Team Colleague
Reputation Points: 1135
Solved Threads: 171
Super Senior Demiposter
Rashakil Fol is offline Offline
2,478 posts
since Jun 2005
Feb 24th, 2007
0

Re: Doubts

This looks a lot like homework, but what the hell....
Click to Expand / Collapse  Quote originally posted by Debadipta ...
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.
Reputation Points: 683
Solved Threads: 53
Posting Virtuoso
Infarction is offline Offline
1,580 posts
since May 2006
Mar 9th, 2007
0

gratitude

Thnx 2 each one of you for ur help.doubts totally clarified.thnx once again
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Debadipta is offline Offline
6 posts
since Jun 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Computer Science Forum Timeline: Design pattern for encode/decode modules
Next Thread in Computer Science Forum Timeline: system alert





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC