Cegonsoft Java Training

aalvin05

New Member
Java is an open source and Platform Independent Programming Language.
Java run on Java Virtual Machine (JVM). We can develop java programs using Java Development Kit (JDK). We can write the programs in any Text Editor with file extension .java or by using IDE tools like NetBeans, MyEclipse etc.
To run a java program in Command prompt
1) First Compile the file using the command javac FileName.java
2) To run the program java FileName

Network Programming in Java is very different than in C/C++
• much more language support
• error handling
• no pointers! (garbage collection)
• threads are part of the language.
• some support for common application level protocols (HTTP).
• dynamic class loading and secure sandbox execution for remote code.
• source code and bytecode-level portability.

Advantages of Java:
o Portable - Write Once, Run Anywhere
o Security has been well thought through
o Robust memory management
o Designed for network programming
o Multi-threaded (multiple simultaneous tasks)
o Dynamic & extensible (loads of libraries)
o Classes stored in separate files
o Loaded only when needed
 
Top