Kathryn shows you what the JShell is and how to use it in the command prompt. This shows you the magic of programming and gives you a better idea of what coding is and how it works.
- [Narrator] Before jumping into our IntelliJ IDE,…let's go ahead and mess with a little bit of Java code…and the Jshell introduced in Java 9.…JShell lives in the terminal and allows you to see the…results of your code immediately.…If you don't know what the terminal is,…it's just a way we can interact with the computer through…text versus graphical elements.…For example instead of clicking and dragging things into…folders using the graphical interphase, we can write a…simple command or a one line text phrase in the terminal to…make the computer do it for us.…
Lets take a look at the JShell.…To use JShell, we'll need to open a terminal.…To open a terminal, we can write "terminal" here in the…search bar and it'll pull it up for us.…And to use the JShell, we simply type "JShell".…If this prompt doesn't come up for you make sure that you've…downloaded the JDK version 9, going back to the last video.…As with any command line tool, we can do slash help to learn…more about the program.…Hitting enter, we get this big list of text that tells us…
- Downloading Java 9 and choosing an IDE
- Understanding Java basics: data types, strings, arrays, and more
- Controlling flow with functions and loops
- Working with inheritance and interfaces
- Learning lambda
Skill Level Beginner
1. Getting Started
2. Java Basics
3. Control Flow
4. Beyond the Basics
- 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.