Friday, 26 August 2011

Introduction to Java

             
                    Java is a programming language was originally developed by James Gosling at Sun Microsystems  and released in 1995 as a core component of Sun Microsystems' Java platform.  It's known as a "high-level" language because it can be read and written easily by human.


Why do i need Java?
           
                  You must have noticed that there are several applications and websites that do not work without Java. So, to make them work properly, you need Java. Moreover, Java is fast,secure, and reliable.


Java Buzzwords
  • Simple-- Java was designed to be easy for the professional programmer to learn and    use effectively. If you already understand the basic concepts of object-oriented programming, learning Java will be even easier. Especially if you know C++ programming, then moving to Java will require little effort. 
  • Object-Oriented-- This is the main feature of Java. At this moment you might think what is an object and how is it related to Java. For this moment, just know that an object consists of data and methods. We shall discuss this broad topic in detail in this post.
  • Robust-- Java is a robust programming-language. To gain reliability, Java restricts you in a few key areas to force you to find your mistakes early in a program development.
  • Multithreaded-- Java was designed to meet the real-world requirement of creating interactive, networked programs. To accomplish this, Java supports multithreaded programming, which allows you to write programs that do many things simultaneously. The Java run-time system comes with an elegant yet sophisticated solution for multiprocess synchronization that enables you to construct smoothly running interactive systems.
  • Architecture-neutral-- A central issue for Java designers was that of code longevity and portability.  Their goal was "write once"; run anywhere, any time, forever. That means you can write your Java code in your machine and run that code in any machine (provided you have JVM running in that machine too) and in any operating system you want.
  • Interpreted and High-Performance-- Java enables the creation of cross-platform programs by compiling into an intermediate representation called Java bytecode. This code can be executed on any system that implements Java bytecode.  
  • Distributed-- Java is designed for the distributed environment of the Internet because it handles TCP/IP protocols. In fact accessing a resource using a URL is not much different from accessing a file.
  • Dynamic-- Java programs carry with them substantial amounts of run-time type information that is used to verify and resolve accesses to objects at run-time. This makes it possible to dynamically link code in a safe and expedient manner.

These were the basic knowledge of Java. Now let's drop down a bit deeper into the hole. 





__________________________________________________________________

No comments:

Post a Comment