This is a sample solution to the challenge where you were asked to write a program that asks the user for their name, then uses the current time to determine if it is morning, afternoon or evening. Then print a message saying: Good Morning followed by the name the user entered or Good Afternoon or Good Evening.
- [Voiceover] How did you make out…with this last challenge?…Were you able to use the Jdeveloper IDE…to write a program and then go back…and use the debugger?…Let me show you how I would approach this problem.…I'm gonna start by creating a new project…so I need a new application first.…And I'm gonna call it Greetings.…I'll click Next.…I'm gonna name the project Greetings as well.…Next, and Finish.…Now I need to add a new class file.…File, New, Java class.…
I'm gonna make this Greeting as well.…And I don't want a constructor from the superclass…or I don't want to implement any abstract methods…but I do want a main method.…So I'll click OK.…Before I get too far, I wanna make sure…I check the preferences, causes I am going…to need to enter in the username.…So I'm gonna go to Application, Project Properties,…under the Run Debug, under the Pencil for Edit,…under Tool Settings, I wanna make sure I check…Allow Program Input and click OK,…And OK again.…
Alright, now I'm ready.…The firs thing I wanna do is to remove the line…
- 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.