To view free audio / flash tutorials on Java see the following:
http://www.jeogrip.com
http://www.javavideotutes.com
Java for desktop/servers use is available in the form of Java SE. The JDK (Jave SE Development kit) can be downloaded from http://java.sun.com/javase/downloads/index.jsp.
Books:
The Sun Java Series contains good book on Java. For an introductory text covering Java SE 6 "The Java Tutorial 4th Edition" is good.
Key points :
1. Java doesn't support Multiple inheritance, which is supported by C++.
2. Java implements namespaces through packages.
3. interface defines the contract that the class implements, and is enforced by the compiler.
Notable differences b/w C++ and Java :
1. No support for Multiple Inheritance.
2. No support for Pointers.
3. No support for preprocessor directives.
4. Everything should belong to a class, even the main method.
5. New for statement syntax : for( int a = arrayOfInts) { //.... };
6. By default, reference are created to object and arrays. In C++, you need to explicity create a reference by using &. Primitive data types in Java don't use references.
7. Object need to be explicity free in C++, where automatic garbage collection is done in Java.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment