Added: 5 years ago
From: aphonik
Views: 42,552
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (71)

Sign In or Sign Up now to post a comment!
  • i love your voice!

  • I know you posted this video five years ago and you'll probably never see this comment but, THANK YOU SO MUCH!!!!!!!

  • It's very rare to find such a good tutorial :]

  • Thanks! I didn't know that! lol

  • great job, but the quality of the video is bad, i can not see clearly what you write

  • Many thanks for the tutorials!!!

  • Thank U 

  • these are great but is there anyway you could make the picture more clear

  • com/watch?v=Y-oEeADZdM8

  • this is an excellent video , It really helps me understand better,

    do you have a video explaining about variables with 2 method in the same class .

    Thanks,

  • Thank you so much, this is much easier to understand than reading my books

  • I copied your Arithmatic.java file the exact same way you have it but my file won't compile do you know why its doing this?

  • is it required to save the file as "arithmitic.java" or can you call it math.java or haha.java?

  • you can name the .java file anything as long as when you use javac you type the correct file. the new class file will be the same name as the class.

  • you have to use the exact class name as the filename.

    So if you do:

    class Math{

    the name of your .java should be Math.java

    hope that helped!

  • class name must match file name

  • Nice one!

    Also, something I thought while watching your vid...

    You can make execution a lot easier with batch files (i think..)...well, I KNOW compiling would work, anyway...just go into notepad, and make a file:

    javac %1

    then Save As "Java Compiler.bat"

    Now, any .java programs you drag onto it will be compiled instantly! The same may work with a "java %1" program, although seeing as how normal batch files exit immediately when finished, I don't know :/..try it!

    Hope this helps (like you)!

  • If you didn't want them to end immediately you can add pause.

  • just out of curiousity ...what kinda job you do? coz you're really good at teaching.

  • i think you mean braces not bracket in terms precedence

  • Thank you sir, your videos are awesome and helpful! Im getting back into java thanks to you!

  • thanks.

  • good job mate

  • evertym i type 'javac arithmetic..." java control panel pops-up,

    and wen i type "java arithmetic"

    dis one appears "Exception in thread "main"java.lang.NoClassDefFoun­dError: Arithmetic"

    "Could not find d main class:Arithmetic. Program will exit."

    wat will i do.....?

  • "Could not find d main class:Arithmetic" means that your computer can't find the .class file.... are you sure that the compiling process was successfully carried out?... hope you already fixed this :)

    cheers

  • You rule dude, I cant wait to see the next videos!

  • THANK VERY MUCH!!! Awesome Tutorials!!!! Great work! U r the man!!!

  • Very helpful Thanks!

  • Thank YOU !!!!!!!!!! SO fricken much!!! I am taking an online class for java and was lost but your videos are descriptive and follow everything needed to know step by step. Awesome job and thank you for helping me pass my class!!!

  • thanks u r great.

  • hey could any one tell me how to get values in output.I mean how to give two no in cmd prompt and calculate.like

    "enter 1st vaue to add:xx

    enter 2nd value to add:xx

    the answer is:xxxx "

    I want to enter value in cmd prompt not in note pad...if any buddy knows pls help me

  • int numberOne = 8436, numberTwo = 72, total = numberOne + numberTwo;

    System.out.println("Total: " + total);

  • Thank you, that's helped me to understand variables a great deal, your explanation, was better than my Lecturer at university.

  • very well done !!!

  • Hey, got a question, how do you do squares and square roots?

  • You are an excellent teacher!

  • what site did you learn from?

    }:)

  • how do you do stuff like

    numberOne == (then someones input)

  • This guy delivers! //Youtube's Audio preview ftw!!

  • Excellent video!!!!!!!

    thx!!!

  • awesome explanation again, thanks very much!

  • watch Creating a Ruby Weblog in 99 Sec.

  • Excellent video!!!

  • You explain Everyting brilliantly, fair play. Quality!!

  • Thanks a lot for taking the time to do this. It's a big help. I programmed all through out highschool 15 years ago, and am getting back into it, but had not done OOP or Java yet, so it is great to have your tutorial.

  • hey wat i just found out from watching a different tutorial is that when you go to run it you have no extention

    so in the comand prompt to compile you do the (javac Arithmatic.java)

    then to run it you just do (java Arithmatic) then it will run

  • Yep that did it thanks a lot

  • i got the exeption in thread"main" java.lang.NoClassDefFoundError­: Arithmatic.java

    i know lots of people are also getting this error when trying to run even though it compiles just fine.

  • had the same error and was slamming my head against the monitor because I didn't understand why....finally figured out that it is a small "a" (arithmatic) not a capitol "A" like he has

  • same thing happened to me.

  • iam on the gaming side of java useing moparscape

    but i found these helpfull :D thanx

  • i made a file coompiled it sucessfully and runed it it gave ma a message saying Exception in thread "main" java.lang.NoClassDefFoundError­: calculator

  • you named the filename in the compiler wrong probly.

    "main" java.lang.NoClassDefFoundError­: calculator

    im pretty sure means it cant find the file from what i remember

  • thx i you were right

  • Thank You, Excellent tutorials

  • ok, it compiles it right with no errors, but it wont display anything and there is an error there, what is wrong, is my java old? i got it about 2 weeks ago

  • Never mind i found out what i did wrong lmao stupid spelling. thxs great tutorials love them.

  • Hey i have a Q when i try to compile i get the error

    Arithmatic.java:3: <identifier> expected

    public^static void main<String[] args> { do you know what i did wrong the < and > are acctually ( )

  • please sir can i have your email , iwant to ask you about somethings in the java ...

    ASAP

  • i am not a pro but post the code or send it to me

  • Great tutorials. How would I assign the operator of a calculation (ex. +, -, %) into a variable and then allow the calculation to proceed with that operator in a variable? I just get errors when I try.

  • srry meant to say "while parsing" not without

  • hey i got a prob, everytime i try to compile this i get an error sayin 'reached end of file without parsing'

    how can i fix this?

  • alright man thanks.your tutorials are very good.the only thing i would like to add is that when you make some changes in a program and just save it it won't make the changes you must save as again (at least that's what is happening to me :)

  • instead of: int numberone,numbertwo,total; numberone = 8436; numbertwo = 72; total = numberone + numbertwo; is it right to say : int numberone = .. ; int numbertwo = .. ; int total = numberone + numbertwo; i studied C++ and i was shown this way to set variables does it work in java also ?
  • Yes. Does exactly the same thing. =]

  • @euthanized wtf im sooo lost

  • This is great. You make it sound so simple, compared to stuff on variables I have read.

    Thanks Man

  • dumb question, what is your suggestion for a guy to which can't wrap his head around OOP

  • Awesome stuff, dude. Thanks.

  • i like

Loading...
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