Programming in Java
Object Oriented in Java
Advanced topics in Java
Java Home
JAVA is an object oriented, most secure and widely used programming language which runs on multiple type of operating systems and devices.
Sharp Tutorial provides you with the simplified and easy examples to learn Java step by step.
Using java we can create mainly the following types of the applications :
- Console application
- Windows Based Application (GUI Based).
- Web Applications
- Mobile Applications
OOPS in JAVA
As java is object oriented langauge so it supports the following :
- Inheritance
- Encapsulation
- Polymorphism
- Abstraction
In object oriented approach, objects ( instance of the classes) are created to use the properties (variable) and functions
Sample program for java.
class Example
{
public static void main(String args[])
{
System.out.println("This is a sample program in java");
}
}
Output of the above program is as following.
Video/ C Introduction
Watch video in full size