Watch this video in a new window

Java Video Tutorial 9: Exceptions

The basics of exception handling. Sorry for the delay (Of 7 months...).  
 
Customize

More From: aphonik

Loading...

QuickList(0)

109 ratings
Sign in to rate
37,022 views
Want to add to Favorites? Sign In or Sign Up now!
Want to add to Playlists? Sign In or Sign Up now!
Want to flag a video? Sign In or Sign Up now!

Statistics & Data

Loading...

Video Responses (1)

Sign in to post a Comment

Text Comments (67)   Options

Loading...
ayashmaxx (1 week ago) Show Hide
 0
Marked as spam
wheres the other tuteriols?
tj1990 (1 month ago) Show Hide
+1
Marked as spam
you were getting thousands of views with these videos, and nothing you went over i didn't already know, sadly...im waiting for more advanced tutorials but i cant wait years between them...start making these they're good source of views.
fsjal1 (2 months ago) Show Hide
+1
Marked as spam
lol notepad : nothing is cooler than notepad.
bazilmeister (3 months ago) Show Hide
+2
Marked as spam
thanks a lot man. for all 9 vids.
tedtdu (3 months ago) Show Hide
+1
Marked as spam
Good job. Keep going. How about doing it with eclipse?
vivekstreak (3 months ago) Show Hide
 0
Marked as spam
thanx for such great info dude........
Yazk17 (4 months ago) Show Hide
 0
Marked as spam
dude its been more than a year!!! where are you?
thebayle (4 months ago) Show Hide
 0
Marked as spam
do you want input from the user in command prompt?
johnlennonisgreat (4 months ago) Show Hide
 0
Marked as spam
Yeah, I want to know how to make it so the input causes something happen. You know how?
thebayle (4 months ago) Show Hide
 0
Marked as spam
okay this code may help

Console action = System.console();
String actchoice = action.readLine("Action:");

this will allow the user to type in text and press enter to send it. With this you could do something like:
System.out.println("type 'a' to begin!");
Console action = System.console();
String actchoice = action.readLine("Action:");
if( actchoice.equals("a"))
then...
Note: in case u didn't know 'actchoice' and 'action' are variables so you can name them something else if u want.

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.