Java 프로그래밍 II 한상철 (Han, Sangchul) 상허연구동 102 호 ( 840-3605 )

Slides:



Advertisements
Similar presentations
(C) 2010 Pearson Education, Inc. All rights reserved. Java™ How to Program, 8/e.
Advertisements

Advanced Programming in Java
Sadegh Aliakbary Sharif University of Technology Fall 2010.
© 2006 Pearson Addison-Wesley. All rights reserved9 A-1 Chapter 9 Advanced Java Topics (inheritance review + Java generics)
ITEC200 – Week03 Inheritance and Class Hierarchies.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 27 - Java Object-Oriented Programming Outline.
OOP in Java Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Inheritance COMP53 Sept Inheritance Inheritance allows us to define new classes by extending existing classes. A child class inherits all members.
1 Chapter 6 Inheritance, Interfaces, and Abstract Classes.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4 th Ed Chapter N - 1 Chapter 13 Polymorphism is-a relationships Interfaces.
UML Class Diagram: class Rectangle
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4 th Ed Chapter N - 1 Chapter 13 Polymorphism is-a relationships Interfaces.
8.1 Classes & Inheritance Inheritance Objects are created to model ‘things’ Sometimes, ‘things’ may be different, but still have many attributes.
© 2006 Pearson Addison-Wesley. All rights reserved9 A-1 Chapter 9 Advanced Java Topics CS102 Sections 51 and 52 Marc Smith and Jim Ten Eyck Spring 2007.
Java Course Outline Kumar Harshit, USW. Course Description Teaches students to program using the Java programming language with the help of the Netbeans.
Java™ How to Program, 9/e Presented by: Dr. Reyes Álamo © Copyright by Pearson Education, Inc. All Rights Reserved.
Java™ How to Program, 9/e Presented by: Dr. Reyes Álamo © Copyright by Pearson Education, Inc. All Rights Reserved.
Principles of Computer Programming (using Java) Review Haidong Xue Summer 2011, at GSU.
Unit 5 School of Information Systems & Technology1 School of Information Systems and Technology (IST)
CIS 270—Application Development II Chapter 13—Exception Handling.
220 FINAL TEST REVIEW SESSION Omar Abdelwahab. INHERITANCE AND POLYMORPHISM Suppose you have a class FunClass with public methods show, tell, and smile.
(C) 2010 Pearson Education, Inc. All rights reserved. Java™ How to Program, 8/e.
CSC 113 Java Programming II
Java™ How to Program, 9/e Presented by: Dr. Reyes Álamo © Copyright by Pearson Education, Inc. All Rights Reserved.
Introduction to Java Prepared by: Ahmed Hefny. Outline Classes Access Levels Member Initialization Inheritance and Polymorphism Interfaces Inner Classes.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2005 Pearson Education, Inc. All rights reserved Chapter 2 1 Java Inheritance.
CORE JAVA
What is inheritance? It is the ability to create a new class from an existing class.
Java ProgrammingtMyn1 Java Programming Timo Mynttinen Mikkeli University of Applied Sciences.
Inheritance. Introduction Inheritance is one of the cornerstones of object-oriented programming because it allows the creation of hierarchical classifications.
Selected Topics in Information Technology Programming Language - JAVA Semester 1/2554.
Core Java: Essential Features 08/05/2015 Kien Tran.
Java™ How to Program, 9/e Presented by: Dr. José M. Reyes Álamo © Copyright by Pearson Education, Inc. All Rights Reserved.
Chapter 10 Classes and Objects: A Deeper Look Visual C# 2010 for Programmers © by Pearson Education, Inc. All Rights Reserved.
AP Computer Science A – Healdsburg High School 1 Interfaces, Abstract Classes and the DanceStudio - Similarities and Differences between Abstact Classes.
Lecture 10 Concepts of Programming Languages Arne Kutzner Hanyang University / Seoul Korea.
Introduction to Java Chapter 7 - Classes & Object-oriented Programming1 Chapter 7 Classes and Object-Oriented Programming.
© 2007 Lawrenceville Press Slide 1 Chapter 8 Objects  A variable of a data type that is a class. Also called an instance of a class.  Stores data  Can.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Chapter 9 Inheritance and.
Final Review. From ArrayLists to Arrays The ArrayList : used to organize a list of objects –It is a class in the Java API –the ArrayList class uses an.
 Pearson Education, Inc. All rights reserved Object-Oriented Programming: Polymorphism.
Inheritance Objectives: Creating new classes from existing classes The protected modifier Creating class hierarchies Abstract classes Indirect visibility.
Inherited Classes in Java CSCI 392 Ch 6 in O’Reilly Adapted from Dannelly.
CET 3640 Instructor: Dr. Reyes Álamo © Copyright by Pearson Education, Inc. All Rights Reserved.
© 2007 Lawrenceville Press Slide 1 Chapter 9 Inheritance  One class is an extension of another.  Allows a class to define a specialized type of an existing.
CS 5JA Introduction to Java Pop Quiz Define/Explain encapsulation. In object-oriented programming, encapsulation refers to the grouping of data and the.
Inheritance Inheritance is the process of extending the functionality of a class by defining a new class that inherit,all the features of extending class.
Terms and Rules II Professor Evan Korth New York University (All rights reserved)
C++ General Characteristics: - Mixed typing system - Constructors and destructors - Elaborate access controls to class entities.
1 Introduction to Computer Science for Majors II CPSC 233, Winter 2013 CPSC 233, winter 2013 Tutorial 14, Mar 27/28, 2013.
1 Inheritance One of the goals of object oriented programming is code reuse. Inheritance is one mechanism for accomplishing code reuse. It allows us to.
Geoff Holmes and Bernhard Pfahringer COMP206-08S General Programming 2.
Inheritance a subclass extends the functionality of a superclass a subclass inherits all the functionality of a superclass don't reinvent the wheel – "stand.
Java Programming Fifth Edition Chapter 9 Introduction to Inheritance.
Programming in Java: lecture 7
A Concrete Presentation on Abstract Classes and Methods, Interfaces, and Polymorphism CSC 202.
Advanced Programming in Java
Advanced Programming in Java
OOP: Encapsulation &Abstraction
Inheritance and Polymorphism
UML Class Diagram: class Rectangle
Exception Handling: A Deeper Look
Inheritance, Polymorphism, and Interfaces. Oh My
Advanced Java Topics Chapter 9
Advanced Programming in Java
Java Programming Course
Java Programming, Second Edition
Advanced Programming in Java
Midterm Review CSE116A,B.
1.4 ทบทวน JAVA OO Programming Concepts Declaring and Creating Objects
Presentation transcript:

Java 프로그래밍 II 한상철 (Han, Sangchul) 상허연구동 102 호 ( )

평가 출석 (10%) 중간고사 (40%) 기말고사 (40%) 과제 (10%) 교재 제목 : Java How to Program 저자 : Harvey Deitel & Paul Deitel 출판사 : Pearson Inc.

Schedule 0. Outline of class - Introduction, Setup for programming environments ch3. Introduction to Classes and Objects - Declaring classes & methods ch6. Methods: A Deeper Look - Static methods & fields - Case study ch7. Arrarys and ArrayLists - Declaring, creating, and using Arrays - Class Arrays & Class ArrayList ch8. Classes and Objects: A Deeper Look - Time class case study - Controlling access, 'this' reference, overloaded constructors - Set- and Get- methods, Enumerations, static class members

Schedule ch9. Object-Oriented Programming: Inheritance - Superclass & subclass, protected members - Relationship between superclass and subclass - Constructors in subclass, Class object ch10. Object-Oriented Programming: Polymorphism - Polymorphism example, Abstract class and method - Case study: using polymorphism - Case study: using interfaces ch11. Exception Handling - Error-handling overview, Examples, Java exception hierarchy - finally block, Stack unwinding, Chained exception