PDA

View Full Version : Find a good reference to learn JAVA languange


hani1610
01-30-2009, 05:20 PM
i hv been assign to convert data like ( send msg) into ASCII code..and change it to bitstream...i ask around, that JAVA language can help to do that...

but, how can i work from scratch, any web or book that can i make as reference?

or have other language that can help me to minimize the coding...
as far i know..C++ can resolved it..but it need a long n messy coding...VHDL also can help..but i still new in this language...

tq

abduraooft
01-30-2009, 05:29 PM
First lesson: Java (http://en.wikipedia.org/wiki/Java_(programming_language)) and javascript (http://n.wikipedia.org/wiki/JavaScript) are entirely different, despite their confusingly similar names

servlet
02-02-2009, 10:01 AM
First lesson: Java (http://en.wikipedia.org/wiki/Java_(programming_language)) and javascript (http://n.wikipedia.org/wiki/JavaScript) are entirely different, despite their confusingly similar names

I think, he already knows it, He has specifically mentioned JAVA LANGUAGE.

servlet
02-02-2009, 10:10 AM
How to convert String to ascii:

Read the string using StringReader (http://java.sun.com/j2se/1.4.2/docs/api/java/io/StringReader.html), the read function returns the integer which is the ascii value of the character.

In simple words, just cast each character to int, to get its ASCII value.

Look at http://java.sun.com/docs/books/tutorial/essential/io/ for how to convert it to byte stream.

abduraooft
02-02-2009, 10:26 AM
I think, he already knows it, He has specifically mentioned JAVA LANGUAGE.
May be, but it was originally posted under
CodingForums.com > :: Client side development > JavaScript programming
JavaScript frameworks (http://www.codingforums.com/forumdisplay.php?f=62)

servlet
02-02-2009, 10:46 AM
May be, but it was originally posted under

Oh, Sorry, I din't know that you are moderator, and you moved this thread here from Javascript forum.

abduraooft
02-02-2009, 10:57 AM
Oh, Sorry, I din't know that you are moderator, and you moved this thread here from Javascript forum.
Lol, partially correct; it's moved by a moderator. But I'm not a moderator.