OOP’ S IN J AVA Presented By: Asst. Prof. Navjeet Kaur Computer Department Govt College Ropar.

Slides:



Advertisements
Similar presentations
Liang, Introduction to Java Programming, Sixth Edition, (c) 2005 Pearson Education, Inc. All rights reserved Chapter 1 Introduction to.
Advertisements

Java: History and Introduction (Lecture # 1). History… Java – Based on C and C++ – Developed in 1991 for intelligent consumer electronic devices – Green.
Introduction to Java Kiyeol Ryu Java Programming Language.
For more Lectures and Notes Visit
INTRODUCTION TO JAVA PROGRAMMING Chapter 1. What is Computer Programming?
Session-02. Objective In this session you will learn : What is Class Loader ? What is Byte Code Verifier? JIT & JAVA API Features of Java Java Environment.
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
LESSON 1 INTRODUCTION Compiled By: Edwin O. Okech [Tutor, Amoud University] JAVA PROGRAMMING.
Sadegh Aliakbary Sharif University of Technology Fall 2011.
Java program.
Java program. Java Tutorial Java technology is widely used currently. Let's start learning of java from basic questions like what is java, where it is.
JAVA v.s. C++ Programming Language Comparison By LI LU SAMMY CHU By LI LU SAMMY CHU.
BASIC JAVA PROGRAMMING TUTORIAL. History  James Gosling and Sun Microsystems  Oak  Java, May 20, 1995, Sun World  Hot Java –The first Java-enabled.
+ Java vs. Javascript Jessi Style. + Java Compiled Can stand on its own Written once, run anywhere Two-stage debugging Java is an Object Oriented Programming.
Sadegh Aliakbary Sharif University of Technology Spring 2011.
O BJECT O RIENTATION F UNDAMENTALS Prepared by: Gunjan Chhabra.
Sadegh Aliakbary Sharif University of Technology Fall 2010.
Java Beserkers Group 4. Start of Java Development began on June of 1991 by a group of computer scientist at the Sun Mircrosystems Company Development.
CONCEPTS OF OBJECT ORIENTED PROGRAMMING. Topics To Be Discussed………………………. Objects Classes Data Abstraction and Encapsulation Inheritance Polymorphism.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Programming Languages Machine.
1.  At the end of this slide, student can:  Explore tools, features, properties and interface of the Textpad.  Creating a new project.  Open and run.
Sadegh Aliakbary Sharif University of Technology Fall 2012.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Chapter 1 Introduction to.
Module Overview n Module Title: OO Programming n Module Code: MIT3446 n Module Value: 3.0 n Duration: 15 weeks n Class-Contact Hours: Lecture15 hrs n Lab/Tutor30hrs.
What Is Java? According to Sun in a white paper: Java: A simple, object-oriented, network-savvy, interpreted, robust, secure, architecture-neutral, portable,
 Programming Language  Object Oriented Programming  JAVA – An Introduction  JAVA Milestones  JAVA Features.
C++ Programming Basic Learning Prepared By The Smartpath Information systems
J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program Design, Second Edition Second Edition D.S. Malik D.S. Malik.
: Maha Sabri Altememe Lecturer : Maha Sabri Altememe Lecture :1 1.
1 The JAVA Language Object Oriented Technology Mithani Binjan M.
Java Example Presentation of a Language. Background Conception: Java began as a language for embedded processors in consumer electronics, such as VCR,
Application Architecture Using Java Hong Li. Introduction Developed by a team led by James Gosling at Sun Microsystem. Originally called Oak, designed.
What is Java? Object Oriented Programming Language Sun Microsystems “Write Once, Run Everywhere” Bytecode and Virtual Machine Java Platform (Java VM and.
Introduction Mehdi Einali Advanced Programming in Java 1.
introductory lecture on java programming
Object-Oriented Concepts Overview. Florida Community College at Jacksonville COP 2551 Object-Oriented Programming OO Concepts Overview Objective Overview.
1 Introduction to Java. 2 * 10% Assignments/ class participation * 10% Pop Quizzes * 05% Attendance * 25% Mid Term * 50% Final Term.
OOPS CONCEPT.  OOPS  Benefits of OOPs  OOPs Principles  Class  Object Objectives.
Programming Paradigms(Model) Two Paradigms: – Procedural Programming Paradigm – Object Oriented Paradigm Objective of OO approach is to eliminate some.
Object means a real word entity such as pen, chair, table etc. Object-Oriented Programming is a methodology or paradigm to design a program using classes.
Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved. 1 Chapter 1 Introduction.
Introduction to JAVA Programming
JAVA TRAINING IN NOIDA. JAVA Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented and specifically.
JAVA TRAINING IN NOIDA. Introduction to Java:  Java training in noida is a general-purpose computer programming language that is concurrent, class-based,
Fundamental of Java Programming (630002) Unit – 1 Introduction to Java.
Chapter 1 Coding Introduction.
Object Oriented Programming in
Done By: Ashlee Lizarraga Ricky Usher Jacinto Roches Eli Gomez
Unit-1 JAVA Programming.
Chapter 1 Introduction to Computers, Programs, and Java
Introduction to Advanced Java Programming
Lecture 1: Introduction to JAVA
The Java Programming Language
UCSC All rights reserved
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING (OOP) & CONCEPTS
PRINCIPALES OF OBJECT ORIENTED PROGRAMMING
An Overview of Java.
Chapter 1 FOUNDATIONS OF JAVA
PROGRAMMING IN JAVA. INTRODUCTION TO JAVA  Java is a general purpose computer programming language that is concurrent, class-based, object- oriented.
Advanced Programming Fall 2017.
Object Oriented Programming
Units with – James tedder
Java History, Editions, Version Features
By Rajanikanth B Overview Of Java By Rajanikanth B
Java Evolution Java History. Java Features.
Introducing Java.
មជ្ឈមណ្ឌលកូរ៉េ សហ្វវែរ អេច អ ឌី
Object Oriented Programming(OOP)
Outcome of the Lecture Upon completion of this lecture you will be able to understand Fundamentals and Characteristics of Java Language Basic Terminology.
Presentation transcript:

OOP’ S IN J AVA Presented By: Asst. Prof. Navjeet Kaur Computer Department Govt College Ropar

I NTRODUCTION OF JAVA Java is a general-purpose computer programming Language. It is a subset of C and C++. Developed James Gosling in Sun Microsystems Labs USA in Java, initially called Oak after an oak tree that stood outside Gosling's office.

W HERE IT IS USED ? Desktop Applications such as media player, antivirus etc. Web Applications such as irctc.co.in, javatpoint.com etc. Enterprise Applications such as banking applications. Mobile Embedded System Smart Card Robotics Games etc.

T YPES OF J AVA A PPLICATIONS Standalone Application It is also known as desktop application such as media player, antivirus etc Web Application It is also known as dynamic page that runs on the server side Enterprise Application An application that is distributed in nature, such as banking applications etc. Mobile Application An application that is created for mobile devices. Like currently Android and Java ME

F EATURES OF J AVA Simple Platform independent Secured Robust Portable Reliable High Performance Architectural Neutral

O BJECT -O RIENTED :I TS FEATURES ARE : Object Any entity that has state and behavior is known as an object. For example: chair, pen, table, keyboard, bike etc

C LASS Collection of objects is called class. It is a logical entity.

Combining data(variabl) and functions(methods) into a single unit called class and the process is known as Encapsulation. DATA ABSTRACTION AND ENCAPSULATION:

E NCAPSULATION It binds together the data and functions that manipulate the data, and that keeps both safe from outside interference and misuse.

I NHERITANCE It is a mechanism in which one object acquires all the properties and behaviors of parent object.

T YPES OF INHERITANCE Single Inheritance Multilevel Inheritance Multiple Inheritance Hybrid Inheritance Hierarchical Inheritance

P OLYMORPHISM Polymorphism is the ability of an object to take on many forms.

T YPES OF P OLYMORPHISM Compile Time Run Time

T HANKS