Over View of Java
Java is object Oriented Programming Language (OOP) and OOP is at core of Java.
Two Paradigms:
All computer programs that consists of two elements
- Code
- Data
One is called Process-Oriented model. This technique describe as a program in steps. In this Technique can be thought of code acting on data.
Problem with Process-Oriented Model:
The main problem of this technique are:- Code goes larger
- More Complexity
OOP principle:
The three OOP principle are:
- Encapsulation.
- Inheritance.
- Polymorphism.
Simple Java Program
/* this is simple Java Program*/
class Example{
// your program start with main()
public static void main(string args[]){
System.out.println("This is Java.");
}
}
I appreciate the work you did ... Very good !!!
ReplyDelete