This challenge is designed to give you practice with the Intellij IDE. Your challenge is to create a simple Java program, use shortcuts to import necessary libraries, run the program and finally use the debugger to step through the code. I estimate that this challenge might take about 10 minutes. This gives you time to write your program, run it and then use the debugger.
- View Offline
- Exercise Files
(quiet cymbal crash)…- [Voiceover] I hope you're ready for this next challenge.…This challenge is designed to give you…practice with the IntelliJ IDE.…During this challenge, make sure you take advantage…of the shortcuts that were presented,…you want to make sure you run the program,…and use the debugging tool to step through your code.…Let's talk about the specifics of the program.…In IntelliJ, you're going to create…a new Java application.…The program is going to ask the user for their name.…
So in the main method, you're going to want to add…a Scanner object, prompt the user to enter their name,…read the name into a string variable,…then use the code snippet on the next page…to get the current hours.…The program will use the current time…to determine if it is morning, afternoon or evening…and then print a message saying either…good morning, followed by the name of the user,…or good afternoon, or good evening.…You can use your own cutoff settings…but maybe if it's before 11am,…you can say good morning.…
If it's after 11 but before 3pm,…
- What is an IDE?
- Viewing and organizing files in an IDE
- Downloading and installing different IDEs
- Coding with shortcuts and autocompletion
- Using templates
- Finding and referencing files
- Debugging Java code in an IDE
Skill Level Beginner
1. A Quick Review of IDE Basics
2. NetBeans IDE
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.