Java Programming: Part 2 Console Input and Output


Video is ready, Click Here to View ×

This tutorial is a walk through of your second Java programming assignment. You will learn how to create input and output statements in Java using the Scanner class.

To set the path use this command:
path C:Program FilesJava * your java version * bin;%PATH%

2 thoughts on “Java Programming: Part 2 Console Input and Output

  1. I really wish we could chat instead of using this public forum, so now I'm having trouble with this line
    if (currentMonth == inputMonth && currentDay < inputDay) {
    The compiler sends back this message, error: variable inputDay might not have been initialized
    if (currentMonth == inputMonth && currentDay < inputDay) {
    The i in input is marked as being wrong, so what did I do wrong?

Leave a Reply

Your email address will not be published. Required fields are marked *