Download presentation
Presentation is loading. Please wait.
Published byRose Flora Rich Modified over 9 years ago
1
SE-1021 Software Engineering II Week 1, Day 2 Attendance Survey results: Use powerpoint Safety Review Preparation for Lab 1 More on Java fundamentals… Packages … Tomorrow: Quiz in Lab (different room) SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick 1
2
Emergency Response Plan (1) The “ERP” document – Evacuation Map – Campus Emergency Number: ___-___-____ Telephone – Pull Stations – SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick 2
3
Emergency Response Plan (2) Emergency Exits – Fire Extinguishers – Shelter-in-place – where is closest locking room? Indoor evacuation – Outdoor evacuation – Last person to leave should … SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick 3
4
Binary packages The source code / class files for com.t00ter.T00t is located at... com/t00ter/T00t.java The associated webpage (not javadoc) is at www.t00ter.com www.t00ter.com More generally, t00ter.com SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick 4
5
Course Overview Inheritance Applications of Inheritance Exception Handling File I/O SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick 5
6
Java Fundamentals SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick 6 See Week 1 Outcomes
7
Primitive Types byte->short-> char-> int->long->float->double 8 bits16 bits32 bits64 bits32 bits64 bits SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick 7
8
ASCII Table SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick 8
9
Explicit type casting: (int)a Implicit type casting: ‘a’+’b’ SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick 9
10
System.out.println(x++) == System.out.println(x) x++ System.out.println(++x) == x++ System.out.println(x) SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick 10
11
Short-circuit evaluation true || null.toString() String str = null; if(str.toString()) { /// } If(true || str.toString()) { /// } SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick 11
12
Quiz Topics Syllabus Safety Content so far, e.g. Binary number ranges Packages SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick 12
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.