eTCS

OOPS THROUGH JAVA

Web Design Development Dubai UAE

Java is “Object Oriented Programming Language” unlike ‘C language’ which is a structured oriented one.

Java Language starts with packages. Within Packages are classes, within classes are methods, constants and  variables.  In java, source code (.java files) is compiled, it gets transated into byte codes and then placed into ‘.class’.

OOPS concepts: There are 4 principles of object oriented programming.

They are: Abstraction, Encapsulation, Inheritance and Polymorphism.

  • Abstraction: Here in Abstraction, object of the program is defined.
  • Encapsulation: Encapsulation allows the user to access data by providing a interface.
  • Inheritance: Here in Inheritance, one object acquires the properties of another object.
  • Polymorphism: Polymorphism , as the name suggests is having multiple forms of classes and methods for various implementations.

Features of Java:  There are some powerful features of Java.

  • Simple
  • Reusability of code
  • Robust
  • Secure
  • High Performance
  • Dynamic
  • Threaded
  • Distributed
  • Multi threaded
Software Requirements of Java:  JDK and JRE 1.5

Architecture of Java: After a Java programs is written, compiler reads the statements in the programme and translates into machine format called byte code. And then the compiled Java code which is the resulting byte code will be executed at runtime.  Java programs are written and executed in two ways:

  1. By ‘A Java Swing Application’—which is a Stand-alone application
  2. By Applet which runs on a web browser like internet explorer.

Java Source Code:  A Java is a collection of one or more collection of java classes. A java source file can contain many classes which can be executed at any time within a class.

A simple Java program :

public class ( HelloWorld    {

public static void main String args[]  {

system.out.println(“HelloWorld”)  ;

} //  End of main

} // End of HelloWorld Class

Output: HelloWorld
Applications of Java:
  • Embedded Systems
  • Web Applications
  • Mobile Applications
  • GUI Applications

Get in touch with Us..


    UAE:

    eTCS

    Al Sharq Street, Al Gulaya, Sharjah, United Arab Emirates

    +971 55 537 8122

    Email: info@etcsfzc.com

    eTCS is an leading web solutions and software solutions company in UAE. Our passionate and talented teams are expertise all kind of website design and software development. We are engaged in creating new and effective ways to make our online solutions better and better. Our company's deep focus is on providing high quality website design, website development, application development, seo services, mobile app development, erp software, crm software, library management system software and hospital management system software products. We provide solutions & services in Dubai, Ajman, Sharjah, Abu Dhabi, Middle East regions, India and USA.