Change Player Size
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)

106 ratings
Sign in to rate
33,176 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 (65)   Options

Loading...
fsjal1 (5 days ago) Show Hide
 0
Marked as spam
lol notepad : nothing is cooler than notepad.
bazilmeister (1 month ago) Show Hide
 0
Marked as spam
thanks a lot man. for all 9 vids.
tedtdu (1 month ago) Show Hide
 0
Marked as spam
Good job. Keep going. How about doing it with eclipse?
vivekstreak (1 month ago) Show Hide
 0
Marked as spam
thanx for such great info dude........
Yazk17 (2 months ago) Show Hide
 0
Marked as spam
dude its been more than a year!!! where are you?
johnlennonisgreat (2 months ago) Show Hide
 0
Marked as spam
gah i wanna learn how to get input from the user
damnit
other then that, (y)
thebayle (2 months ago) Show Hide
 0
Marked as spam
do you want input from the user in command prompt?
johnlennonisgreat (2 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 (2 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.
widespreadfanic (2 months ago) Show Hide
+1
Marked as spam
Aphonik, where are you?! I'm at the end of your series. You're videos are great! I've checked out A LOT of tutorials on YouTube and I love the way you teach. Your explanations and examples are very interesting and easy to understand. I'd like to see ( hear ) you do some more advanced tutorials like 2D arrays, database applications, web applications, and application deployment. Is that asking a lot? :) Anyway, thanks for the series and come back!!

Would you like to comment?

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