This challenge is designed to give you practice with the Eclipse 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.
- [Voiceover] Are you ready for another challenge?…I hope so.…This challenge is similar to the other challenges,…except this time we're going to use Eclipse IDE…to create a new project.…Make sure you take advantage of some of the shortcuts…that we've presented.…Remember Eclipse uses control space for code assist.…Once you get your program written.…Make sure you run it and don't forget to go back…and use the debugging tool.…Even if you're program works fine,…try adding a break point so you can practice…walking through your code and looking at the variables…as they change.…
The assignment for this challenge,…is to create a Java application…using the Eclipse IDE.…In the main method, you're going to want…to ask the user for their name,…so you need to add a Scanner object.…You need to prompt the user to entire their name,…so try using the sis out code assist.…Read the name into a string variable,…then use the code on the next page…to obtain the current hour.…Use the hour to print out a greeting.…You're welcome to use your own cutoff times.…
- 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.