Skip to main content


WHAT IS JAVA

Java is a general-purpose computer-programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible.
DeveloperSun Microsystems (now owned by Oracle Corporation)
Typing disciplineStatic, strong, safe, nominative, manifest
First appearedMay 23, 1995; 22 years ago
LicenseGNU General Public License, Java Community Process
Java is −
  • Object Oriented − In Java, everything is an Object. Java can be easily extended since it is based on the Object model.
  • Platform Independent − Unlike many other programming languages including C and C++, when Java is compiled, it is not compiled into platform specific machine, rather into platform independent byte code. This byte code is distributed over the web and interpreted by the Virtual Machine (JVM) on whichever platform it is being run on.
  • Simple − Java is designed to be easy to learn. If you understand the basic concept of OOP Java, it would be easy to master.
  • Secure − With Java’s secure feature it enables to develop virus-free, tamper-free systems. Authentication techniques are based on public-key encryption.
  • Architecture-neutral − Java compiler generates an architecture-neutral object file format, which makes the compiled code executable on many processors, with the presence of Java runtime system.
  • Portable − Being architecture-neutral and having no implementation dependent aspects of the specification makes Java portable. Compiler in Java is written in ANSI C with a clean portability boundary, which is a POSIX subset.
  • Robust − Java makes an effort to eliminate error prone situations by emphasizing mainly on compile time error checking and runtime checking.
  • Multithreaded − With Java’s multithreaded feature it is possible to write programs that can perform many tasks simultaneously. This design feature allows the developers to construct interactive applications that can run smoothly.
  • Interpreted − Java byte code is translated on the fly to native machine instructions and is not stored anywhere. The development process is more rapid and analytical since the linking is an incremental and light-weight process.
  • High Performance − With the use of Just-In-Time compilers, Java enables high performance.
  • Distributed − Java is designed for the distributed environment of the internet.
  • Dynamic − Java is considered to be more dynamic than C or C++ since it is designed to adapt to an evolving environment. Java programs can carry extensive amount of run-time information that can be used to verify and resolve accesses to objects on run-time.

Comments

Popular posts from this blog

Contructor In Java

Constructor in Java In Java, constructor is a block of codes similar to method. It is called when an instance of object is created and memory is allocated for the object. It is a special type of method which is used to initialize the object. Note:  It is called constructor because it constructs the values at the time of object creation. It is not necessary to write a constructor for a class. It is because java compiler creates a default constructor if your class doesn’t have any. Rules for creating java constructor There are basically two rules defined for the constructor. Constructor must  have the  same  name as its class name Constructor must not have return type Types of java constructors two types of constructors in java: Default constructor (no-arg constructor) Parameterized constructor Java Default Constructor A constructor is called “Default Constructor” when it doesn’t have any parameter. Syntax of default constructor: ...

Java Basic Syntax

                                                Basic Syntax Of Java When we talk about Java program, it can be called as a collection of objects which can be called through methods. Let us now briefly look into  it. Object  − Objects in java behaviors and states . lets consider a example of dog: dog  class state includes its name, breed ,color  and has behavior wagging their tail, barking, eating. object  in  java  classed as  an instance of a java class.   Class  − A class can be defined as a template/blueprint that describes the behavior/state that the object of its type supports.   Methods  − A method is basically a behavior. A class can contain many methods. It is in methods where the logics are written, data is manipulated and all the actions are executed.   Instance Variables  − Eac...

Introduction To Spring Framework

                    Spring Tutorial Here in this  spring tutorial we will give in-depth concepts of Spring Framework with examples. Spring  Framework was  developed by Rod Johnson in 2003 . Spring framework makes the enterprise application development easy and fast. This Tutorial is helpful  beginners and experienced persons. Spring Framework Overview Spring is a  lightweight  framework introduced by  Rod Johnson in 2003 .  It can also be integrated with  other frameworks such as Hibernate, struts, EJB, JSF etc. Spring framework has the following modules s IOC, AOP, DAO, Context, ORM, WEB MVC etc.  Let's try to  understand the IOC and Dependency Injection first. Inversion Of Control (IOC) and Dependency Injection The design patterns that are used to remove dependency from the programming code. Which makes the code development  easy to test and maintain. Let's...