PDA

View Full Version : Java in a Nutshell



ImaginAsian
11-13-2001, 09:10 PM
My new workplace is requiring me to get up to speed on Java as fast as I can. I've been reading a ton but it seems to me for all the hype Java is...

Java seems to be C++ for multi-platforms.

JohnnyBra
11-13-2001, 10:28 PM
That's pretty much it.

Java is a "Sublanguage" or "Extension" of C++.. Doesn't have all the C++ features, but most of the code is identical.


What are you needing Java for? Web Design? Application Development?

ImaginAsian
11-13-2001, 10:45 PM
That's what I observe as well. Never liked C/C++ all that much...my mind works like Visual Basic...that's for sure.

I'm using Java for App Dev and testing. I also use VB at work. What a funny combination :)

KaraK
11-14-2001, 05:33 AM
Java uses more or less identical syntax to C++ but its kinda aimed at doing different things. Its a very easy language to learn and reasonably powerful with it.

If you have any Q's give me or MD a shout our degree has involved a fari whack of Java programming

ImaginAsian
11-16-2001, 12:35 AM
Kewl...I will keep that in mind :thumbsup:

Mad dog
12-05-2001, 08:09 AM
Originally posted by JohnnyBra
Java is a "Sublanguage" or "Extension" of C++.. Doesn't have all the C++ features, but most of the code is identical.


Sorry but this aint true. Java is it's own language with it's own unique compile. As K said, it uses the same kind of syntax as C/C++ but it works i a completely different way.

Whereas most languages compile the code down to a machine level and a platform specific, Java compiles to an intermetiate code or Bytecode which is half way between written code and machine code. This code then executes on a Java Virtual machine which can be programmed to work on any platform.

C# works on a similar concept but is alot better basically cus MS have been able to study Java and basically improved upon it.