Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.

Slides:



Advertisements
Similar presentations
BBIT 212/ CISY 111 Object Oriented Programming (OOP) Objects and classes, object interactions in Java
Advertisements

Programming Paradigms Introduction. 6/15/2005 Copyright 2005, by the authors of these slides, and Ateneo de Manila University. All rights reserved. L1:
Object Interaction and Source Code Week 2. OBJECT ORIENTATION BASICS REVIEW.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
Copyright 2008 by Pearson Education Building Java Programs Chapter 8 Lecture 8-1: Classes and Objects reading: self-checks: Ch. 8 #1-9 exercises:
Objects and Classes First Programming Concepts. 14/10/2004Lecture 1a: Introduction 2 Fundamental Concepts object class method parameter data type.
Excerpts from Introduction to Java Programming, 4E Author: Y. Daniel Liang (Copyright by Prentice Hall)
Aalborg Media Lab 21-Jun-15 Software Design Lecture 1 “ Introduction to Java and OOP”
HST 952 Computing for Biomedical Scientists Lecture 2.
Fall 2005CSE 115/503 Introduction to Computer Science I1 Lecture #4 Agenda Announcements Review Questions? Classes and objects UML class diagrams Creating.
Satzinger, Jackson, and Burd Object-Orieneted Analysis & Design
Objects Interaction and Source Code Week 2. OBJECT ORIENTATION BASICS REVIEW.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 1 Introduction to Object-Oriented Programming and Software Development.
9-Aug-15 Vocabulary. Programming Vocabulary Watch closely, you might even want to take some notes. There’s a short quiz at the end of this presentation!
CH1 – A 1 st Program Using C#. Program Set of instructions which tell a computer what to do. Machine Language Basic language computers use to control.
3.1 Documentation & Java Language Elements Purpose of documentation Assist the programmer with developing the program Assist other programers who.
Copyright © 2012 Accenture All Rights Reserved. Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
CSM-Java Programming-I Spring,2005 Introduction to Objects and Classes Lesson - 1.
C++ Object Oriented 1. Class and Object The main purpose of C++ programming is to add object orientation to the C programming language and classes are.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
An Object-Oriented Approach to Programming Logic and Design
CS-434: Object-Oriented Programming Using Java Week 2
Introduction to Object Oriented Programming. Object Oriented Programming Technique used to develop programs revolving around the real world entities In.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
Recap (önemli noktaları yinelemek) from last week Paradigm Kay’s Description Intro to Objects Messages / Interconnections Information Hiding Classes Inheritance.
The Java Programming Language
Chapter 6 Object-Oriented Java Script JavaScript, Third Edition.
Your First Java Application Chapter 2. 2 Program Concepts Modern object-oriented programs help us build models to manage the complexity found in a problem.
Java Programming, Second Edition Chapter One Creating Your First Java Program.
Introduction to Java Programming with Forte Y. Daniel Liang.
Guided Notes Ch. 9 ADT and Modules Ch. 10 Object-Oriented Programming PHP support for OOP and Assignment 4 Term project proposal C++ and Java Designer.
1 Classes and Objects in C++ 2 Introduction Java is a true OO language and therefore the underlying structure of all Java programs is classes. Anything.
Lecture 1 Introduction Figures from Lewis, “C# Software Solutions”, Addison Wesley Richard Gesick.
Inheritance - Polymorphism ITI 1121 Nour El Kadri.
SNPL1 Woochang Lim What (Variable) + How (Function) = Object Objects are the physical and conceptual things we find in the universe around us. Object-Oriented.
Introduction to Java Applets Sangeetha Parthasarathy 05/21/2001.
A First Simple Program /* This is a simple Java program. Call this file "Example.java".*/ class Example { // Your program begins with a call to main().
Object-Oriented Programming. An object is anything that can be represented by data in a computer’s memory and manipulated by a computer program.
OBJECT-ORIENTED PROGRAMMING (OOP) WITH C++ Instructor: Dr. Hany H. Ammar Dept. of Electrical and Computer Engineering, WVU.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
BIO Java 1 Exception Handling Aborting program not always a good idea – can’t lose messages – E-commerce: must ensure correct handling of private.
C++ Programming Basic Learning Prepared By The Smartpath Information systems
Abstraction ADTs, Information Hiding and Encapsulation.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 26 - Java Object-Based Programming Outline 26.1Introduction.
Introduction to Java Chapter 7 - Classes & Object-oriented Programming1 Chapter 7 Classes and Object-Oriented Programming.
Inheritance. Inheritance - Introduction Idea behind is to create new classes that are built on existing classes – you reuse the methods and fields and.
UMass Lowell Computer Science Java and Distributed Computing Prof. Karen Daniels Fall, 2000 Lecture 9 Java Fundamentals Objects/ClassesMethods Mon.
ISBN Object-Oriented Programming Chapter Chapter
Introduction to Object-Oriented Programming Lesson 2.
Encapsulation, Inheritance, Composition. Class Methods Can be either void or return Can have parameters or not Must be static Should be public Know how.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
CPRG 215 Introduction to Object-Oriented Programming with Java Module 1-Introduction to Java Topic 1.3 Write Your First Java Program Produced by Harvey.
By : Robert Apeldorn. What is OOP?  Object-oriented programming is a programming paradigm that uses “objects” to design applications and computer programs.
5.1 Basics of defining and using classes A review of class and object definitions A class is a template or blueprint for an object A class defines.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
Mr H Kandjimi 2016/01/03Mr Kandjimi1 Week 3 –Modularity in C++
Introduction to Java Programming, 4E Y. Daniel Liang.
Objects, Classes, and Methods
The Object-Oriented Thought Process Chapter 1
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING (OOP) & CONCEPTS
Object-oriented programming
Methods Additional Topics
Teach A-Level Computer Science: Object-Oriented Programming in Python
Interfaces.
Anatomy of a Java Program
Final and Abstract Classes
C++ Object Oriented 1.
Presentation transcript:

Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are trademarks of Accenture. Accenture Delivery Fundamentals 2.0: Java Week 1: Day 5 Opening

Copyright © 2012 Accenture All Rights Reserved. Video Watch the following Videos: Scale.wmv Stephen_Kot.wmv 2

Copyright © 2012 Accenture All Rights Reserved. Recap Welcome to Application Delivery Fundamentals 2.0 Java Day Five Day Four recap –Module 9 – Java Programming - Classes and Objects. –Module 10 – Java Programming – Inheritance. 3

Copyright © 2012 Accenture All Rights Reserved. Checkpoint Which of the following statements is/are correct? Mark all that apply. A.Many objects can be created for one class. B.A class is a collection of objects. C.Classes are created using new keyword. D.An object, when instantiated, returns a reference (address) to the newly created object. 4

Copyright © 2012 Accenture All Rights Reserved. Checkpoint Which of the following statements is/are correct? Mark all that apply. A.A Class must have main method to be compiled. B.A Class must have main method to execute. C.A Class without main method can be compiled but cannot be executed. D.A Class without main method is of no use. 5

Copyright © 2012 Accenture All Rights Reserved. Checkpoint public static void main(________) is the _________ method that is invoked when a/an ________ is executed. A.String[] a, first, class B.string[] a, first, class C.String a[], only, object D.int []a, last, object 6

Copyright © 2012 Accenture All Rights Reserved. Process B.Abstraction A.Encapsulation C.Inheritance Checkpoint Definition: 1.Captures only those details about an entity that are relevant to the current perspective. Maven 2.Mechanism that groups together code and the data it manipulates. 3.Representation of an “is a” relation between classes. Match the following definitions to the processes: Process A.Encapsulation B.Abstraction C.Inheritance 7

Copyright © 2012 Accenture All Rights Reserved. Checkpoint Which of the following statements are correct about object-oriented programming in Java? A.Objects serve as the basic building blocks of an OOP application. B.A class is a blueprint or a template in OOP in Java. C.Classes serve as the basic building blocks of an OOP application. D.An object is a blueprint or a template in OOP in Java. 8

Copyright © 2012 Accenture All Rights Reserved. Checkpoint Look at the following and tell whether the relationship between each set of classes shows Inheritance or Composition? A.Shape and Circle or Composition B.Circle and Point Inheritance or C.Window and Shape Inheritance or D.Frame and Window Inheritance or Inheritance Composition 9

Copyright © 2012 Accenture All Rights Reserved. Questions and Comments 10