This challenge is designed to give you practice with the Bluej 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.
(gentle cymbal crash)…- [Voiceover] Welcome to the next challenge.…Now that you've seen BlueJ, this challenge…is designed to give you practice with…the BlueJ IDE by creating a new project.…You'll add a class to your project,…run the program, and use the debugging tool.…Let's talk about specifics for the project.…For this program, you're going to create…a new Java application, you're going to add…a class, and in that class, add a main method.…The main method will ask the user for their name,…you'll use a Scanner object to read in the name,…you'll read the name into a string variable…that you create, and finally, you'll use the code…on the next page to obtain the current hour…and evaluate that to print out a message.…
You can choose your own cut-off settings,…but maybe, if you want to check and see…if it's before 11am, you could say good morning.…If it's between 11 and 3pm, say good afternoon…and if it's after 3pm,…you could say good evening.…Here's the code snippet that you'll need…to get the current hour of the day.…
- 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.