Added: 1 year ago
From: JeremyMorganDotCom
Views: 1,155
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (7)

Sign In or Sign Up now to post a comment!
  • Dude, not sure if u did that on purpose but, if u didnt, errors like that arent tolerated for a programmer i mean, i never programmed in java, im a .NET guy C# programmer but let me tell u again errors like that should not be made :) cheers

  • @galaxyarnold If you mean running the program without an argument, yes I was showing what it does when it catches an exception. I put in a try-catch and wanted to show why, and how to get it to throw one.

    This program was written purely for education, if it were a production app there would be actual input validation, preventing it from throwing the exception in the first place. I wanted to show how to catch exceptions and demonstrate good habits for new programmers.

  • @galaxyarnold Also the code for this application is almost identical to C#. Should you decide to start coding in Java you'll see a lot of similarities (there are reasons for this of course).

  • @JeremyMorganDotCom Nice to hear u did that for some reason :) i seen some java code and i seen there is a lot of similarities with C# but for right now im not gonna go into java in depth because dont have the time, i study Computer engineering and need a lot of assembly, c/c++ :)

  • What about to replace specific word or line?

  • @cyrusxxx1 This sounds like a good idea for a video in the future! It's actually pretty easy to do in Java.

  • What about to replace specific word onr line?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more