Académique Documents
Professionnel Documents
Culture Documents
Lory Al Moakar
Midterm: 20%
Final: 25%
Programming Projects: 40%
Homework and labs: 15%
object-oriented concepts
classes
objects
encapsulation
inheritance
polymorphism
Program Development
Object-Oriented Programming
class body
Program Development
Object-Oriented Programming
Java
compiler
Bytecode Bytecode
interpreter compiler
Machine
code
Edit and
save program
errors
errors
Compile program
Program Development
Object-Oriented Programming
Examples:
"This is a string literal."
"123 Main Street"
"X"
object method
information provided to the method
name
(parameters)
System.out.println ();
// A string can contain numeric digits
System.out.println ("Letters in the Hawaiian alphabet: 12");
int total;
int count, temp, result;
sides = 12;
System.out.println ("A dodecagon has " + sides + " sides.");
}
}