About Java :
The java programming language was developed by Sun Microsystems in the early 1990s. Java is a simple programming language, efficient, general-purpose language. Java is portable. The same java application will run on any computer, regardless of hardware features or operating system. It is also primary use for Internet-based applications.
Other than portability, Java has another advantage like security features. Security features protect a pc running a java program from problems and from malicious programs. Java security features prevent types of applets from accessing a PC’s hard drive or network connection. So you can safely run a java applet downloaded from the Internet.
Java is a good programming to start with :
- Java is simpler, and the syntax is much more readable than C, C++, or any other language.
- Java is good to learn object-oriented programming, but not so good for procedural ones prefer C there. Object-oriented programming is a useful skill because it handles the complexity of a real-world application quite well.
- Java has a reach API, and you can do a lot more with java including graphics, sound, and most likely writing small games like Tic Tac Toc, etc.
- Java has community support. Nowadays, you can also use Google to search for solutions for issues related to Java.
Compare with C++ :
Java syntax is similar to C++ but the languages are different. Compare to C++, Java code run a little slower but it is more portable and has much better security features. All basic java data types are predefined and not platform-dependent, whereas some data types can change with the platform used in C or C++. Java is both compiled and interpreted language while C++ is only a compiled language.
