Mathematics, Computer Science, and Statistics
Bloomsburg University
Object-Oriented Programming with Java
Make sure you understand these ideas. You may meet them on a quiz.
- What the Java compiler and the JVM do.
- How to compile source code at the command prompt.
- How to run a Java program at the command prompt.
- The difference between syntax and logical errors.
- The difference between source code and byte code.
- The difference between source files and class files.
- How to declare and initialize int variables.
- How to use int variables in arithmetic expressions.
- How to use the Java API Specs to find the package containing a given class.
- How to use the Java API Specs to determine the return type of a method.
- The difference between classes and objects.
- How to create objects and invoke their methods.
- How to generate random integers in a given range.
- Concatenation of string literals and numerical values.
- The difference between an object reference and a number variable.
- The difference between instance fields and local variables.
- How to identify instance fields, local variables and parameters in a class.
- The purpose of constructors, and how they differ from ordinary methods.
- Where classes, objects, methods and parameters appear in a given line of code.
- How to create and use JFrame objects.
- How to override the paintComponent method.
- How to create and use Color objects in paintComponent.
- How to create and draw rectangles and ellipses.
- How to determine the output of a small code fragment with variables modified in a loop.
- The equivalence of for-loops and while-loops.
- How to implement a loop to solve a simple arithmetic problem (e.g., calculating sum of numbers 1-1000).
- What is meant by the scope of a variable.
- The scope of instance fields, local variables and parameters.
- What is meant by the state of an object.
- How to define accessors and mutators in terms of the state of an object.
- What it means for a method to be static.
- What is the implicit parameter.
- What is an immutable class.
- The difference between instance fields and class fields.
- The difference between instance methods and class methods.
- What it means for the public interface of a class to be cohesive.
- How to declare and initialize arrays.
- How to declare ArrayLists and add/remove elements.
- Autoboxing and unboxing.
Home |
Topics |
Policies |
Links |
Style
Guide |
Coding and Submitting |
Reasons to Major
in CS |
Career
Paths