javabymanish

Search results

Monday, 21 October 2013

Chapter - 3 (An Introduction to Java)

An Introduction to Java


Java is a set of several computer software products and specification form Sun Microsystems(Merge with Oracle), that together provide a system for developing application software and deploying it in a cross-plateform computing environment.
Java was conceived by James Gosling, Patrick Naughton, Chirs Warth, Ed Fronk and Mike Sherfidan, in Sun Microsystems in 1991. The language was initially called 'oak' but was renamed 'Java' in 1995.

Features Of Java :

 1 - Simple, Small and Familiar : 

                                                                  Java was designed to be easy for the professional programmer to use and learn effectively. If you already understand the basic concepts of Object Oriented Programming, learning java will be even easier.

2 - Object Oriented :

                                         Almost everything in java is a class, a method or an object. Any code that you write in java is inside a class.

3 - Distributed :

                               Java was designed for the distributed environment of the internet, because it handles TCP/IP protocols. Java included feature for intraddress-space messaging. This allowed objects on two different computers to execute procedures remotely.

4 - Interpreted and Compiled :

                                                             Java is both compiled and interpreted with a compiler (javac), by this you can translate java program into bytecode (or .class file), it is platform independent code that is interpreted by java interpreter (java).

5 - Robust :

                       The ability to create robust programs was given a high priority in the design of java and it is reliable language. Java program can't cause a crash because it doesn't have permission to access all of you computer memory. It also provides exception.

6 - Secure :

                      This feature is apply in many ways. One of them is also byte-code verification that just occur before interpreting the byte-code by interpreter (java). 

7 - Platform-Independence : 

                                                        Java enables the creation of cross - platform programs by compiling into an intermediate representation called java byte-code. This code can execute on any systems running on different operating system.

8 - Portable :

                         Portable. it means that easy to carry . In java programming, we can carry the byte-code that is generated after compiling the java program on any system and execute there. So our byte-code is like a portable.

9 - High Performance :

                                              Java byte-code efficiently designed so that it would be easy to translate directly into native machine code for high performance by using a Just-In-Time (JIT) compiler. Java is faster than other interpreted language. Since it is compiled and interpreted.

10 - Multithreaded :  

                                        Multithreading is the ability of an application to perform multiple task at the same time.

11 - Dynamic :

                            In java, maintaining different versions of an application is very easy. Java is capable of dynamically linking in class libraries, methods and objects. Java support dynamic memory allocation with automatic garbage collection.       
                       
     

2 comments:

  1. Very good initiative Manish..It would be really very helpful for the beginners..
    Keep on posting such nice things. Also I would like to suggest that apart from theoretical stuffs , the programming and concepts related to Memory Management , Pointers and Comunuication based stuffs like Sockets & shared memories etc. which are used very widely in the real life applications , also needs to be taken care.
    All the best !!!!

    Regards,
    Jyotesh

    ReplyDelete
    Replies
    1. Thanks Jyotesh for suggestion, I try it..............

      Delete