Skip to main content


developerWorks  >  Java technology  >

Java programming for C/C++ developers

developerWorks

Level: Introductory

Scott Stricker (sstricke@us.ibm.com), Developer, IBM

28 May 2002

Register now or sign in using your IBM ID and password.

This tutorial introduces the Java™ programming language to C and C++ developers. Because you already know how to program in C/C++, we'll approach many Java programming concepts by comparison. You will learn a great deal about Java programming by learning how the Java language is similar to, and different from, C and C++. Overall, the purpose of this tutorial is to teach you the fundamentals of the Java language and get you programming quickly.

Prerequisites

This tutorial is geared toward C and C++ programmers. If you already know C or C++ and want to learn how to program in the Java language, this tutorial is for you. It doesn't particularly matter if you're a C programmer or a C++ programmer. We'll discuss the differences between the C and C++ languages as they come up.


System requirements

You will need JavaScript enabled on your browser.

We'll be compiling and running Java programs, so you'll need a Java development environment, such as the Java SDK, and a simple text editor, such as Notepad in Windows or vi in a UNIX environment.



Duration

Under one hour


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed