A. To understand how a Java program works, we will take a look at the following:
What is a JVM? How is Java program compiled into binary code and executed?
The process of compilation: turn .java files into .class files.
The difference between a compile time error and a run time exception. What are checked and unchecked exceptions?
B. Now that we understand the underline platform which supports a Java program, let's take a closer look at program themselves.
How are Java programs organized into packages? What is the default package?
When you program, how to use standard classes provided in Java library?
What's the structure of a Java class?
C. Any Java class starts with declarations.
How to declare a class? a variable? a method?
What is a reference? What are passing by values and passing by references?
What are type casting? down casting? up casting?
D. Java input/output
Scanner class is not required by AP CSA.
System.out.printf is not required by AP CSA, only System.out.print and System.out.println.
What will "System.out.println(4+6+"lb");" print out? How about "System.out.println("$"+4+6);"?
E. Practice of the Week - due midnight PST, 2/4/2019.
Write 3-5 bullet points to respond to 1-2 questions in the outline above(A1-D3). First come first pick, do NOT pick one that has been responded.
Multiple Choice Questions: #1-8 of Chapter 2(Barron's). Please check your answers AFTER you solve the problems. Post here if you have more questions about the correct answers.