OOPDA Home Page

"Any fool can write code that a computer can understand.
Good programmers write code that humans can understand."
— Martin Fowler

Elvis
Class Materials
  • Class schedule
  • Software
  • Class Project
  • Videos & YouTube
  • Virtual Desktop
Source Code
Example code
corresponding to
each lecture
Java Stuff
  • IOOP/OOPDA Glossaries
  • Reg Expressions
  • Enums
  • File IO and Logging
  • ...
Tools
  • Connect thru Virtual Desktop
  • Online compilers
  • VS Code/JavaFX setup
  • Javadoc and UML
Odds and Ends
Just click and see...

Class Materials

Java Stuff (1 of 3) Next

IOOP Glossary
Terms and concepts you should already know from IOOP
OOPDA Glossary
Terms you should know at the conclusion of OOPDA.  The most important terms are in this highlighted version.

File IO

IO in Java can be complex. This is a nice overarching tutorial and here is a good description of streams, files, and IO.

BufferedReaders

Curious as to how exactly a BufferedReader reads when the buffer is empty?

Java Stuff (2 of 3) Prev Next

Logging

Review of Logging courtesy of Professor Chien

Regular Expressions

Regular expressions are very powerful ways to validate patterns of strings, e.g. phone numbers, email addresses, social security numbers, product numbers and so on. Here's a good tutorial on the classes needed to implement regular expressions. Here's a link to some popular regular expressions that describe each example.

Java Stuff (3 of 3) Prev

enums

An enum type is a special data type that enables for a variable to be a set of predefined constants. The variable must be equal to one of the values that have been predefined for it. Common examples include compass directions (values of NORTH, SOUTH, EAST, and WEST) and the days of the week. Because they are constants, the names of an enum type's fields are in uppercase letters. In the Java programming language, you define an enum type by using the enum keyword. For example, you would specify a days-of-the-week enum type as:
public enum Day { 
 SUNDAY, MONDAY, TUESDAY, WEDNESDAY, 
 THURSDAY, FRIDAY, SATURDAY 
} 
There is a presentation available on enums.

Tools

Javadoc

UML

Other tools

  • The Virtual Desktop is an alternative to a local VS Code / JavaFX installation.
  • Watch a video by LAs Sushanth Ambati & Michael Greenbaum on how to install VS Code and JavaFX on your own computer.
  • Use an online Java compiler to compile your programs online without an IDE!

Odds and Ends