SYLLABUS
1. Introduction to Object Oriented Programming concepts:
(i) Principles of Object Oriented Programming, (Difference between Procedure Oriented and Object-oriented).
All four principles of Object Oriented Programming should be defined and explained using real-life examples (Data abstraction, Inheritance, Polymorphism, Encapsulation).
(ii) Introduction to JAVA - Types of Java programs – Applets and Applications, Java Compilation process, Java Source code, Byte code, Object code, Java Virtual Machine (JVM), Features of JAVA.
Definition of Java applets and Java applications with examples, steps involved in the compilation process, definitions of source code, byte code, object code, JVM, features of JAVA - Simple, Robust, secured, object-oriented, platform-independent, etc.Before we Start our main topic lets get a overview:
What is a Programming Language?
Definition:
A programming language is a special language used to write instructions that a computer can understand and follow.
Just like we use English or Hindi to talk to each other, programmers use languages like Java, Python, or C++ to talk to computers.
Why do we need it?
Computers are dumb without instructions. A programming language helps us:
Tell the computer what to do
Solve problems
Make websites, games, apps, software, etc.
Types of Programming Languages:
Low-level languages
High-level languages
Example:
Let’s say we want to add two numbers.
In Java, you can write:
This tells the computer: “Hey! Add 5 and 10, and show me the result.”
History of Java (In Detail)
When and Why was Java created?
Java was developed in 1991 by a team at Sun Microsystems (later bought by Oracle).
The team was led by James Gosling (known as the father of Java).
It was first called Oak (named after an oak tree outside Gosling’s window).
But the name “Oak” was already taken by another company, so in 1995, they renamed it to Java (inspired by Java coffee ☕ from Indonesia).
Original Purpose of Java:
Java was first created to program electronic devices like TVs, toasters, and remote controls (for embedded systems).
But it became very popular for the Internet and applications because it was:
Secure
Platform-independent
Easy to use
Java’s Key Turning Points:
Why Java Became Popular:
“Write Once, Run Anywhere”: Same code works on Windows, Mac, Linux, etc.
Secure: Java runs in a protected environment (sandbox).
Object-Oriented: Focuses on real-world things like objects and classes.
Huge Community: Many tools, support, and libraries available.
Fun Fact:
Java is used in:
Android apps 📱
Banking software 💰
Scientific systems 🔬
Games & Web Apps 🎮🌐
Comments
Post a Comment