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++ :)
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 5 months ago
@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.
JeremyMorganDotCom 5 months ago
@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 5 months ago
@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++ :)
galaxyarnold 5 months ago
What about to replace specific word or line?
cyrusxxx1 11 months ago
@cyrusxxx1 This sounds like a good idea for a video in the future! It's actually pretty easy to do in Java.
JeremyMorganDotCom 5 months ago
What about to replace specific word onr line?
cyrusxxx1 11 months ago