Download presentation
Presentation is loading. Please wait.
Published byAlyson Ramsey Modified over 9 years ago
1
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
2
Copyright © 2012 Accenture All Rights Reserved. Video Watch the following Videos: Scale.wmv Stephen_Kot.wmv 2
3
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
4
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
5
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
6
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
7
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
8
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
9
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
10
Copyright © 2012 Accenture All Rights Reserved. Questions and Comments 10
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.