Jump to content

Recommended Posts

Posted (edited)

Introduction to Java for Beginners

Brief History
Java was developed by James Gosling and his team from Sun Microsystems in 1991. It was originally called Oak at that time and was renamed later to java. Java 1.0 was released in 1995 for public implementation for the first time. In the same year, Netscape Incorporated released its latest version of Netscape browser which was capable of running Java programs.

Features of Java


  • Java is Object Oriented Programming (OOP) language, i.e. Java is centered on creating and manipulating objects, and making them work together. This allows you to create modular programs and reusable code.
  • Java takes pride in being a platform independent programming language. Java compilers generate a byte code upon compilation of a java source code.This byte code can be distributed and interpreted on any machine by JVM (Java Virtual Machine) irrespective of its platform.
  • With multi-threading present in Java, it is possible to write programs that can carry out multiple tasks simultaneously. It allows developers to construct smoothly running interactive applications.
  • Java was one of first languages to make security a part of its design.
  • Java puts a lot of emphasis on early checking for possible errors and eliminate them to avoid errors during run time.
  • Java is designed for easy implementation of programming for the distributed environment of the internet.

Advantages of Java


  • Simplicity
  • Platform Independence
  • Security
  • Reliability
  • Object Oriented Programming
  • Multi-Threading

Disadvantage of Java


  • to maintain backward compatibility, some newer features like generics are implemented badly; you notice that this language gets old; other features that newer languages like C# have are missing at all
  • a lot of boilerplate code
  • reverse engineering is very easy, because Java is compiled to an intermediate language (which can also be an advantage, depending on what you want to do though)

Usage of Java
Java is used to develop a variety of applications we see in daily life ranging from web applications to mobile applications. You can find usage of Java in world wide web, laptops, mobile phones, netbooks, tablets, and many other electronic appliances too.

Standard Java Platform and IDE to use
If you do not have Standard Java Platform in your machine, you can download it from here.
After installing the JDK in your machine, all you need is an IDE for java. I personally prefer using Eclipse for this purpose. Netbeans isn't a bad choice either. You can download Eclipse here.
Please note that you must have the Java Environment in your machine before you install the IDE.
If you do not wish to use any IDE, you could write your programs in any text editor (e.g. Notepad) and compile it via command prompt too.

Extra Useful Links
Java Tutorials
Java API Specifications

E-Book for starter
Beginning Programming with Java for Dummies

 

 

Source: hackcommunity

Edited by MeVsYou

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..