Download presentation
Presentation is loading. Please wait.
1
Agenda Warmup Finish 2.4 Assignments Time Permitting: Lesson 2.5 (Ascii, etc) Independent Practice (2.5 Assignments) Closure Activity Students will be able to: Understand what Ascii code is, and how to convert to it from a char variable Understand what method overloading is, and when it should be used Write an overwritten method See how today's lesson fits into the unit and the course as a whole
2
Warmup There is a method that does not receive parameters but does return an int. Is this code valid in the client? int x = 0; objectName.methodName(x); 2) What is the result of this code? public boolean largeNumber(int y) { boolean x = false; if (y>100) { x = true; return x; } 3) What are 3 possible solutions to #2? 4) What makes a primitive type different from a variable such as a String?
3
Complete yesterday’s assignments.
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.