Java II
School year 2026–27 · Mr. Comen
Course overview
Java II (Intermediate Java) is the next step after Java. Students learn object-oriented programming, the way real apps and the AP Computer Science A exam organize code: classes that build on each other, data kept safe inside objects, interfaces, lists and maps of objects, and programs that recover from errors. 21 lessons, each a real program with Byte the bulldog: a dog social app, a school lunch card, an arcade and a library checkout system.
| Course detail | |
|---|---|
| Course | Java II (Intermediate Java) |
| Grades | 9–12 |
| Before this course | Java (Byte.java), or another course with classes and objects |
| Teacher | Mr. Comen |
| Where students work | The Code with Byte website, codewithbyte.com; Java runs right in the browser, with nothing to install |
| What students need | A school Chromebook and their school Google account |
| Course size | 4 chapters, 21 lessons, including 4 mini projects |
| Lesson language | English and Spanish (ES button) |
By the end of the course, students can:
- Build class families with extends, super(…) and @Override
- Choose between private, protected and public, and explain why
- Protect data with getters, setters that check the rules, final fields and safe copies
- Design abstract classes and interfaces, and use polymorphism with one loop over many kinds of objects
- Keep objects in ArrayLists and HashMaps, and count, search and remove safely
- Catch exceptions with try / catch / finally and throw their own
- Combine all of it in an original object-oriented program
Units and lessons
Every lesson has numbered guide comments in the starter code and checks that run with the student's program. The last lesson of each chapter is a mini project.
| Chapter | What students learn | Lessons |
|---|---|---|
| 1. Inheritance | extends, @Override, super(…), multilevel inheritance and protected | Family Ties; New Tricks; Super Constructors; Three Generations; Family Secrets; Byte's Feed |
| 2. Encapsulation | private fields, getters, setters that check the rules, final and safe copies | Locker Combo; House Rules; High Score Board; Sneaky Backdoor; Lunch Card |
| 3. Polymorphism & Interfaces | abstract classes, interfaces, instanceof and casting, polymorphism | Blueprint Only; Can-Do Contracts; Double Duty; Party of Heroes; Byte's Arcade |
| 4. Collections & Exceptions | ArrayList and HashMap of objects, try / catch / finally, throw | Team Roster; Word Counter; Safe Landing; Throw a Flag; Byte's Library |
Pacing calendar
The course takes about 12 weeks at 2 class periods a week (one marking period and a half). Students who finish early move on to AP CSA Prep; students who fall behind catch up during the check-in week.
| Weeks | Chapter | Focus |
|---|---|---|
| 1–3 | 1. Inheritance | Class families; Byte's Feed mini project |
| 4–5 | 2. Encapsulation | Safe data; Lunch Card mini project |
| 6 | Check-in | Partner code review, catch-up |
| 7–8 | 3. Polymorphism & Interfaces | Blueprints and contracts; Byte's Arcade mini project |
| 9–10 | 4. Collections & Exceptions | Lists, maps and errors |
| 11–12 | Final project | Byte's Library, plus one original feature, presented to the class |
NJ standards
The course addresses the 2020 New Jersey Student Learning Standards for Computer Science and Design Thinking, grades 9–12 (8.1.12), and the object-oriented topics of AP Computer Science A.
| Standard | What it asks | Where students practice it |
|---|---|---|
| 8.1.12.AP.2 | Create generalized solutions using collections instead of many simple variables | Ch. 4 Team Roster, Word Counter, Byte's Library |
| 8.1.12.AP.5 | Decompose problems using procedures, modules and objects | Ch. 1 class families; Ch. 3 abstract classes and interfaces |
| 8.1.12.AP.6 | Create artifacts that combine data and procedures | Mini projects: Byte's Feed, Lunch Card, Byte's Arcade; Byte's Library |
| 8.1.12.AP.8 | Evaluate and refine programs to make them more usable | Ch. 2 setters that check the rules; Ch. 4 try / catch |
| 8.1.12.AP.9 | Document and present design decisions | Final project presentation |
Grading and expectations
Grades come from the work students complete on Code with Byte, which saves to their account and shows on the teacher dashboard.
| Category | Weight | What counts |
|---|---|---|
| Lessons | 40% | Exercises completed, checked by the site when they run |
| Mini projects | 35% | Byte's Feed, Lunch Card, Byte's Arcade and Byte's Library, with a rubric: works, well designed, commented |
| Checks | 10% | Short check-ins and code reviews |
| Habits and participation | 15% | On task, helps classmates, uses class time well |
Class expectations:
- Sign in with your school Google account every class, so your work saves.
- Try first, then ask: read the error and its line number, test again, ask a neighbor, then ask Mr. Comen.
- Bugs are normal. Fixing them is how programmers learn.
- Your work is your own. Help others by explaining, not by typing it for them.
- Take care of the Chromebooks and the computer lab.
Late and missed work: lessons stay open, so students can catch up at any time before the marking period closes.
For families
Families can look at the whole course without signing in.
- See the course: go to codewithbyte.com and choose Java II in the Courses menu. Only students can open the lessons.
- En español: press ES at the top of any page. The Java II lessons are in Spanish too.
- At home: your child can sign in with their school Google account on any computer and pick up where they left off.
- Questions: contact Mr. Comen through the school or Google Classroom.
Java II
Año escolar 2026–27 · Mr. Comen
Descripción del curso
Java II (Java intermedio) es el paso siguiente después de Java. Los estudiantes aprenden programación orientada a objetos, como se organiza el código de las apps reales y del examen AP Computer Science A: clases que se construyen sobre otras, datos protegidos dentro de los objetos, interfaces, listas y mapas de objetos, y programas que se recuperan de los errores. Son 21 lecciones, cada una un programa real con Byte el bulldog: una red social de perros, una tarjeta para el almuerzo, un arcade y una biblioteca.
| Detalle del curso | |
|---|---|
| Curso | Java II (Java intermedio) |
| Grados | 9.º a 12.º |
| Antes de este curso | Java (Byte.java), u otro curso con clases y objetos |
| Maestro | Mr. Comen |
| Dónde trabajan | El sitio web Code with Byte, codewithbyte.com; Java funciona en el navegador, sin instalar nada |
| Qué necesitan | Una Chromebook de la escuela y su cuenta de Google de la escuela |
| Tamaño del curso | 4 capítulos, 21 lecciones, con 4 miniproyectos |
| Idioma de las lecciones | Inglés y español (botón ES) |
Al final del curso, los estudiantes pueden:
- Construir familias de clases con extends, super(…) y @Override
- Elegir entre private, protected y public, y explicar por qué
- Proteger datos con getters, setters que revisan las reglas, campos final y copias seguras
- Diseñar clases abstractas e interfaces, y usar polimorfismo con un solo bucle para muchos tipos de objetos
- Guardar objetos en ArrayList y HashMap, y contar, buscar y quitar sin errores
- Atrapar excepciones con try / catch / finally y lanzar las suyas
- Combinar todo en un programa original orientado a objetos
Unidades y lecciones
Cada lección tiene comentarios guía numerados en el código inicial y revisiones que se ejecutan con el programa del estudiante. La última lección de cada capítulo es un miniproyecto.
| Capítulo | Qué aprenden | Lecciones |
|---|---|---|
| 1. Herencia | extends, @Override, super(…), herencia de varios niveles y protected | Lazos de familia; Trucos nuevos; Superconstructores; Tres generaciones; Secretos de familia; El feed de Byte |
| 2. Encapsulamiento | campos private, getters, setters que revisan las reglas, final y copias seguras | La combinación del casillero; Reglas de la casa; Tabla de récords; La puerta trasera; La tarjeta del almuerzo |
| 3. Polimorfismo e interfaces | clases abstractas, interfaces, instanceof y cast, polimorfismo | Solo un plano; Contratos de habilidades; Doble trabajo; Un equipo de héroes; El arcade de Byte |
| 4. Colecciones y excepciones | ArrayList y HashMap de objetos, try / catch / finally, throw | La lista del equipo; Contador de palabras; Aterrizaje seguro; Lanza una alerta; La biblioteca de Byte |
Calendario
El curso dura unas 12 semanas con 2 clases por semana. Quienes terminan antes pasan a AP CSA Prep; quienes se atrasan se ponen al día en la semana de repaso.
| Semanas | Capítulo | Enfoque |
|---|---|---|
| 1–3 | 1. Herencia | Familias de clases; miniproyecto El feed de Byte |
| 4–5 | 2. Encapsulamiento | Datos seguros; miniproyecto La tarjeta del almuerzo |
| 6 | Repaso | Revisión de código en pareja, ponerse al día |
| 7–8 | 3. Polimorfismo e interfaces | Planos y contratos; miniproyecto El arcade de Byte |
| 9–10 | 4. Colecciones y excepciones | Listas, mapas y errores |
| 11–12 | Proyecto final | La biblioteca de Byte, más una función original, presentada a la clase |
Estándares de NJ
El curso cubre los Estándares de Aprendizaje de Nueva Jersey de 2020 para Ciencias de la Computación y Pensamiento de Diseño, grados 9 a 12 (8.1.12), y los temas de objetos de AP Computer Science A.
| Estándar | Qué pide | Dónde lo practican |
|---|---|---|
| 8.1.12.AP.2 | Crear soluciones generales con colecciones en lugar de muchas variables simples | Cap. 4 La lista del equipo, Contador de palabras, La biblioteca de Byte |
| 8.1.12.AP.5 | Descomponer problemas con procedimientos, módulos y objetos | Cap. 1 familias de clases; Cap. 3 clases abstractas e interfaces |
| 8.1.12.AP.6 | Crear productos que combinen datos y procedimientos | Miniproyectos y La biblioteca de Byte |
| 8.1.12.AP.8 | Evaluar y mejorar programas para que sean más fáciles de usar | Cap. 2 setters que revisan las reglas; Cap. 4 try / catch |
| 8.1.12.AP.9 | Documentar y presentar decisiones de diseño | Presentación del proyecto final |
Calificaciones y expectativas
Las calificaciones salen del trabajo que los estudiantes completan en Code with Byte, que se guarda en su cuenta y aparece en el panel del maestro.
| Categoría | Peso | Qué cuenta |
|---|---|---|
| Lecciones | 40% | Ejercicios completados, revisados por el sitio al ejecutarlos |
| Miniproyectos | 35% | El feed de Byte, La tarjeta del almuerzo, El arcade de Byte y La biblioteca de Byte, con rúbrica: funciona, bien diseñado, comentado |
| Revisiones | 10% | Repasos cortos y revisiones de código |
| Hábitos y participación | 15% | Concentrado, ayuda a sus compañeros, aprovecha el tiempo de clase |
Expectativas de la clase:
- Inicia sesión con tu cuenta de Google de la escuela en cada clase, para que se guarde tu trabajo.
- Primero intenta, luego pregunta: lee el error y su número de línea, prueba otra vez, pregunta a un compañero y después a Mr. Comen.
- Los errores son normales. Arreglarlos es como aprenden los programadores.
- Tu trabajo es tuyo. Ayuda a otros explicando, no escribiendo por ellos.
- Cuida las Chromebooks y el laboratorio.
Trabajo atrasado: las lecciones siguen abiertas, así que se puede poner al día antes de que cierre el período.
Para las familias
Las familias pueden ver todo el curso sin iniciar sesión.
- Ver el curso: entren a codewithbyte.com y elijan Java II en el menú Cursos. Solo los estudiantes pueden abrir las lecciones.
- En español: presionen ES arriba en cualquier página. Las lecciones de Java II también están en español.
- En casa: su hijo o hija puede iniciar sesión con su cuenta de Google de la escuela en cualquier computadora y seguir donde se quedó.
- Preguntas: comuníquense con Mr. Comen por la escuela o Google Classroom.