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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...