+91 90691 39140 | +1 253 214 3115 | info@hub4tech.com | hub4tech

Java Tutorial

Java programming language was developed by Sun Microsystems which was initiated by James Gosling.It took 18 months to develop the first working version. This language was initially called “Oak,” but was renamed “Java” in 1995.

The newest release of Java is called Java SE 7. Java also introduces other platforms like J2EE for Enterprise Applications, J2ME for Mobile Applications.

Here are some features of Java:
  • Object Oriented:
    Java manages to strike a balance between the purist’s “everything is an object” paradigm and the pragmatist’s “stay out of my way” model. The object model in Java is simple and easy to extend. In Java, everything is an Object.
  • Platform independent:
    The Java code is not platform specific compiled, rather it is platform independent byte code. The same code interpreted by virtual Machine (JVM) and work on all computers whichever platform it is being run.
  • Simple:
    Java was designed to be easy for the professional programmer to learn and use effectively.
  • Secure:
    Java enables to develop virus-free, authenticated system. Public-key Encryption is used for authentication.
  • Architectural-neutral: Java goal is “write once; run anywhere, any time, forever.” Java compiler generates a byte code that can run on any system and any platform with the help of JVM.
  • Portable:
    Being architectural-neutral and having no implementation dependent aspects of the specification makes Java portable.
  • Robust:
    Because Java is a strictly typed language, it checks your code at compile time before run time. It supports to eliminate the errors in compile time.
  • Multithreded:
    Java was designed to meet the real-world requirement of creating interactive, networked programs. Java supports multithreaded programming, which allows you to write programs that do many things simultaneously
  • Interpreted:
    Java enables the creation of cross-platform programs by compiling into an intermediate representation called Java byte-code. This code can be executed on any system that implements the Java Virtual Machine.
  • High Performance:
    With the use of Just-In-Time compilers, Java enables high performance.
  • Distributed:
    Java supports for the distributed environment of the internet. Java also supports Remote Method Invocation (RMI). This feature enables a program to invoke methods across a network.
  • 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.
Java Example
    class Example
     public static void main(String args[])
     System.out.println("Hello! How r u?");  
Where Java is used?

Some area where we use Java are:
  • Desktop Applications (like media player, antivirus etc.)
  • Web Applications
  • Enterprise Applications (like core bnking etc)
  • Mobile
  • Embedded System
  • Smart Card
  • Robotics
  • Games etc.
Is it Helpful?
Copyright ©2015 Hub4Tech.com, All Rights Reserved. Hub4Tech™ is registered trademark of Hub4tech Portal Services Pvt. Ltd.
All trademarks and logos appearing on this website are the property of their respective owners.