2015-07-24

Start with JAVA

Do you know what the first thing we have to start with is?

This is ‘class’ and which is a keyword. So first we need to know about keywords. There are 50 keywords in java and classified on different terms as below:

S No.
Type
Members
1)
Data Types
byte, short, int, long, float, double, boolean, char
2)
Java Files
class, extends, interface, implements, package, import
3)
Method
void, return
4)
Object
new, super, this, instanceOf
5)
Flow Controls
If, else, switch, break, default, for, while, do, continue
6)
Exception
Try, catch, finaly, throw, throws
7)
Modifiers
public, private, protected, static, final, strictFp, abstract, volatile, synchronized, transient, native
8)
Unused
goto, const
9)
Other
enum, assert

I suggest you to first remember the types and then there members. You can remember them easily. We will learn each of the keywords behavior later.
What is JAVA?

Java is a programming language which provides us a platform to develop.

Now comes in mind, what is platform. Platform is the combination of hardware & software on which a program runs.

In real world, when we listen about platform the first thing which comes in mind is always a Railway Platform. What are the things which a railway platform needs? Like Shelter, Desk and most important railway line to run train. In java world, also needs something to build a platform and run the programs and these are hardware & JRE (Java Runtime Environment).

As traditionally there are two types of java which are Core Java & Advance Java.  But in Java world there are three types of java which are:

S No.
Java World
Traditional World
1)
J2SE (Java2 Standard Edition)
Core Java
2)
J2EE (Java2 Enterprise Edition)
Advance  Java
3)
J2ME (Java2 Micro Edition)
Mobile Edition



Now, Question is raised why we use always 2 with the name Java as in present the latest version is something else. 2 nothing but known as the generation not as version.

Why Java

Since Java is come into real world it becomes more and more powerful. Below are some to extra ordinary features for why we should learn JAVA.

1.       Java is Platform Independent.
2.       Java provides create & run anywhere features.
3.       Powerful tools like Eclipse, Netbeans.
4.       Rich collection of Open Source Libraries.
5.       Wonderful community support.
6.       Java is everywhere desktop, mobiles.