0% found this document useful (0 votes)
14 views13 pages

OOP Java Technologia Presentation

The document provides an overview of programming languages, their generations, and the principles of Object-Oriented Programming (OOP). It highlights key OOP features such as encapsulation, inheritance, and polymorphism, and explains the role of the Java Development Kit (JDK) and the Java Virtual Machine (JVM) in executing Java programs. The summary emphasizes the evolution of programming and the advantages of using OOP and Java.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views13 pages

OOP Java Technologia Presentation

The document provides an overview of programming languages, their generations, and the principles of Object-Oriented Programming (OOP). It highlights key OOP features such as encapsulation, inheritance, and polymorphism, and explains the role of the Java Development Kit (JDK) and the Java Virtual Machine (JVM) in executing Java programs. The summary emphasizes the evolution of programming and the advantages of using OOP and Java.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Mastering OOP & Java Basics

• Simplified Concepts with Technologia Touch


Introduction to Programming
Languages
• • Programming languages are used to give
instructions to computers.
• • They help convert human logic into
computer-readable code.
• • Example: Python, Java, C++
Generations of Programming
Languages
• 1st Gen: Machine Language (Binary)
• 2nd Gen: Assembly Language (Mnemonics)
• 3rd Gen: High-Level Languages (C, Java)
• 4th Gen: User-Friendly (SQL, Python)
• 5th Gen: AI-Oriented (Prolog, Mercury)
What is OOP?
• • OOP stands for Object-Oriented
Programming.
• • Focuses more on 'objects' than on
'functions'.
• • Helps keep code organized, reusable, and
secure.
Features of OOP
• • Object-centric approach
• • Code reusability
• • Data hiding (Encapsulation)
• • Inheritance and Polymorphism
Core Concepts of OOP
• • Object – A real-world entity
• • Class – Blueprint for objects
• • Encapsulation – Bundling data and functions
• • Abstraction – Showing essential info only
• • Inheritance – Getting features from another
class
• • Polymorphism – One function, many forms
Real-World Example: Car Class
• Class: Car
• Objects: Red Honda, Blue Toyota
• Attributes: color, model
• Methods: drive(), stop()
Java Development Kit (JDK)
• • JDK is used to write, compile, and run Java
programs.
• • Includes Compiler, JVM, and Tools like
Javadoc.
• • Essential for Java Development.
Java Packages
• • Group of related classes in Java.
• • Examples: java.lang, java.io, java.util
• • Use 'import' to include them in code.
Bytecode & JVM
• • Java code is compiled into Bytecode.
• • JVM runs this bytecode on any machine.
• • Enables 'Write Once, Run Anywhere'
Java Program Execution Flow
• 1. Write Code (.java file)
• 2. Compile with javac → (.class file)
• 3. Run with JVM → Program Output
Summary
• • Programming has evolved over 5
generations.
• • OOP makes programs reusable and secure.
• • Java is powerful because of Bytecode & JVM.
Thank You!
• Code Smart, Code Future!
• Explore more with Technologia.

You might also like