Setup Path in Java

Setup Path in Java

For compilation and execution of a program we must need to install a JDK according to the current versions of java in the windows. Though the properties in environment variables.

  • Go to the my computers then right click
  • Select a properties and environment variables
  • Then go to advanced options and set the path
  • For example: ‘c:\WINDOWS\SYSTEM2;C:\Program Files\java\jdk\bin’

Java Editors

To write a java program we need a one text editor, so following are Notepad, Eclipse, Net beans are used.

Oops in java: Java is an object oriented programming language.

  1. Encapsulation: It is a process of binding variables and methods in to a single entity .By using encapsulation we can improve maintenance and reduced the time required for debugging.
  2. Inheritance: It is process of acquiring the members from one class to another class. Using inheritance we can achieve reusability, we can write the code multiple times and reducing code size.
  3. Polymorphism: A Single entity which can show multiple behaviours and many forms achieve the flexibility.

Method over loading it is a process of specifying multiple methods having different signature but having same method name is called method over loading.

JAVA Tutorial Video

Method Signature:

They are 4 types of signatures in a method contains

  • Method name
  • Number of Parameters
  • Type of Parameters
  • Order of Parameter

A Class contain any number of method but every method must have different signature ,no two methods have same signature.

Method Over riding: This Process of specifying two methods having same signature and same return type in two different classes having IS-A relationship.

One method should be Parent class and other should be in child class.

  1. Abstraction: The information that is hiding the data and showing functionality

Abstract class contain some abstract methods then the class is called abstract class. It is a combination of abstract and concrete methods and cannot be instantiated .we cannot create an object of abstract class and therefore we cannot access the members of that class.

Abstract Method:  A method contains only declaration and does not have any definition then it is abstract method. An abstract method must end with “ ; “ and it must be declared with abstract keyword.


Public abstract class Graphic Object {

// declare fields

// declare non abstract methods

Abstract void draw ( );


 Interface: An interface is a collection of abstract methods. Interface will be used as a contract or an agreement for developing the software. The Interface will be given by clients.


interface  InterfaceName{




Data Types:

The data type will represent what type of data we store in to memory. The data types in java language are classified into three types

  • Primitive data types
  • Derived data types
  • User defined data types

In java language, the primitive data types are also called as fundamental data types. The java language contains 8 primitive data types classified into 4 categories.

Integer data type category used for storing numbers either positive or negative without decimal point like byte, short, int, long.

Floating point category used for storing numbers either positive or negative with a decimal point like float, double.

Character category used for storing for single character like char and Boolean category for storing a value is either true or false.


to our newsletter

Drop Us A Query

Trending Courses
  • Pega testing training
    PEGA Testing Training
  • Today application testing is the deciding factor to launch the application into the market. And people do not launch the application unless it goes true.

  • blockchain course
    Blockchain Online Course
  • Today many people were enthusiastic, to know the exact details of things happening around him. This can get the proper knowledge on Blockchain.

  • ethical hacking course
    Ethical Hacking Certification Course
  • Zeal to learn ethical hacking is common among college students and IT professionals. Because everybody wants to secure their system from cyber attacks.

  • python training
    Python Online Training
  • Python is a dynamic interrupted language which is used in wide varieties of applications. It is very interactive object oriented and high-level programming language.

  • Tableau Training
    Tableau Training
  • Tableau is a Software company that caters interactive data visualization products that provide Business Intelligence services. The company’s Head Quarters is in Seattle, USA.

  • what is pega
    PEGA Online Training
  • Pega Systems Inc. is a Cambridge, Massachusetts based Software Company. It is known for developing software for Customer Relationship Management (CRM) and Business process Management (BPM).

100% Secure Payments. All major credit & debit cards accepted.