Skip to main content

Introduction To Java

Introduction To Java

To learn the Java Language... we need to understand WHAT is java, WHERE it is used, WHY we use java.

WHAT is java?
    Java is a programming language. A language used by humans to communicate with systems. It was created by Sun Microsystems, Inc. in 1991. Sun Microsystems was acquired by the Oracle Corporation in 2010. Now Java is owned by Oracle.

WHERE it is used?
   Java is used where we need to develop some application which can be Desktop Applications, Web Applications or Mobile based Applications.

Desktop application are stand alone applications. To built these applications in JAVA we need to install the JSE(Java Standard Edition), JDE(Java Distributed Edition).
Web  applications are client-server applications. To built these app ,we need to install JEE(Java Enterprise Edition). These applications are accessed using browsers.
Mobile applications are also standalone applications, To built them we need JME(Java Mobile/Micro Edition). These applications can run only on smartphones, tablets.

WHY we use java?
Java is used for popularity of its features. Java is created with a thought of running a language everywhere. It has got vast number of functionalities which are very simple to understand and to use.


Features:
  • Secured
  • Simple
  • Object Oriented
  • Platform Independent
  • Open Source
  • Robust
  • Exception Handling
  • Distributed Applications
  • Multithreading
  • Garbage Collection
  • High Performance
  • Portable.

Comments

  1. Thanks for providing us a very helpful content about the introduction to JAVA.

    ReplyDelete

Post a Comment

Popular posts from this blog

Data Types

 Data Types     There are different types of data used by programmers in java like Numbers, Alphabets, Images etc. Computer does not know the difference between values like number or alphabets.Each type of data will be categorized into different types which are known as Datatypes in java. Thus, Datatype is a classification of data according to its type that an object or a variable can hold. It is a kind of data storage that contains specific type or range of value. Whenever variable is created a storage is assigned to it according to the datatype. Two main concepts of Datatypes are - Type of data. Size allocated to it. It is classified into two main categories i.e Primitives and Referenced .  There are 8 Primitive Type Datatypes and 4 Referenced Datatypes i.e Primitives Datatypes - These are built-in or predefined by the language and their definition cannot be changed. byte short char int long float double boolean Referenced Dat...

Polymorphism

Polymorphism Polymorphism means " Many Forms " - One Object with many behaviors. In other words, ability to appear more than one i.e. to do different things with single object. It can be implemented by method overloading and method overriding in java. For eg. : When you press a device it will turn on, when you press it again it will turn off. Similarly in java "+" Plus Operator has polymorphic behavior: It can perform Arithmetic Operation as well as Concatenation Operation Types of Polymorphism Static Polymorphism Dynamic Polymorphism Static Polymorphism also represented as Compile Time  Polymorphism and Early Binding  Polymorphism. Static Polymorphism is just a method overloading. Thus, it is a process of defining more than one functionalities with same name in same class but having different parameter lists (i.e. different no. of parameters list or different parameters type) Here compiler will figure out which method to call by...

Literals

Literals Literal is the value that we pass in the variables. In other words, Literals are syntactic representation of boolean,numeric,character and string type. These values can be fixed or constant and are stored in the variable. Generally literal are categorized into two types i.e. Numeric Literals and Non Numeric Literals. Integer Literal : They includes - int, short, long, byte. These are the value without any decimal. Int is default type of integer. if any value is out of range in integer literal then compiler will consider that value as int and generates an error. To represent any value in long L/l will be used at the end. There are 4 integer Literals type i.e. Decimal, Octal, Hexadecimal, Binary(added in java 7)  Decimal Literals has base 10 i.e from 0 to 9.          They must not be started with 0. Example :          int a = 111;          it will print 111 Octal...