If you like the video, share it with your friends on these social sites:

 

Title: Java Programming Tutorial - 14 - Using Multiple Classes

Added: May 9, 2009

Author: thenewboston

Duration: 6:34

Description:
How to use multiple classes in a java program.

Related Videos:

Videos related to 'Java Programming Tutorial - 14 - Using Multiple Classes'

Channel: Howto

Tags: install  download  jdk  se  ee  java  development  kit  new  beginner  tutorials  eclipse  variables  if  while  loop  object  classes 



install  download  jdk  se  ee  java  development  kit  new  beginner  tutorials  eclipse  variables  if  while  loop  object  classes 

Youtube Comments: 805

R3v3ng3R3c0rdZ Says:

Apr 17, 2012 - Why did (String args[]) change to (String[] args) And what happens if you don't put anything infront of the class name? Ex: just having class apples instead of having private/public class apples?

roflcopters1122 Says:

Apr 17, 2012 - is class.buritos ok?

lucas vegas Says:

Apr 17, 2012 - anda a cagar

minifishman Says:

Apr 21, 2012 - getting this error:Error: Main method not found in class multipleclasses.usingmultipleclasses2, please define the main method as: public static void main(String[] args)

unsensibled Says:

Apr 22, 2012 - You can still put [] after args instead of String and it will work fine. As long as they are in there I doubt it matters. And the use of public as he explained means that the class can be made available to the public. Private would make it a private class, and not having either will make the class unreadable. It won't do anything.

unsensibled Says:

Apr 22, 2012 - That's because you're trying to run the class that doesn't have a main method. That class isn't supposed to run. You are supposed to make a second class that has a main. In the second class, that's the one that you make an object in to call the class without a main and run it. He goes through all of it in the video.

ameghana03 Says:

Apr 23, 2012 - awesome bucky.... thanks a lot.. you made my life so simpler!!

PhreqOfNature Says:

Apr 25, 2012 - I'm thinking classes equate to subroutines (basic)

MyStuff774 Says:

Apr 26, 2012 - THANK YOU!! :D I'd buy you a beer if I knew where you lived

Phoebus003 Says:

Apr 28, 2012 - Bacon and cheese, hmmmm, that made me feel hungry.

partyboyutz Says:

May 1, 2012 - this doesn't work in Netbeans :(

wilsonlaimusic Says:

May 3, 2012 - dimple message, bacon and cheese HAHAHAHA

cacoethes138hz Says:

May 3, 2012 - In NetBeans type "sout" then press tab. You can try out Eclipse too, most devs prefer it.

k1773n5 Says:

May 5, 2012 - THANK YOU. THANK YOU SO MUCH.

Thecalsamrob Says:

May 6, 2012 - That saves so much time :P Cheers.

god4506 Says:

May 13, 2012 - I got error many times! you have to save it I think it worked after I saved it

William Lewis Says:

May 15, 2012 - 23 People are idiots!

FAIL633 Says:

May 15, 2012 - anyone who can help me please respond:Whenever i run a program and get an error, it force shuts down my computer (i am using eclipse), can someone please tell me why?

plasmard Says:

May 18, 2012 - Wow very useful, thanks for that

plasmard Says:

May 18, 2012 - Yeah xDDD

NerdrageOfficial Says:

May 19, 2012 - For some reason my compiler won't let me make objects the same way you do.asdffdsa asdf = new asdffdsa();asdf.moo();

unknownbillybob8077 Says:

May 22, 2012 - epic tutorial... bucky seems to realy like food...

SpeedKnotz Says:

May 26, 2012 - if you had multiple methods in the tuna class and you wanted to run all of them in the apples class://in tuna class public tuna(){simpleMessage();simpleMessage2(); //after making a second method like simpleMessage();}//in apples classpublic static void main(String args[]){new tuna();}

Ghand0ur Says:

May 26, 2012 - Its really helpful, thank you for the advice, but for everyone who is using that, don't use that till you are really confident about your java knowledge. Don't be lazy at the beginning ;) do everything from scratch

SpartanOdyssey Says:

May 28, 2012 - just saying if you have watched up to this tutorial you can create a calculator with multiplication division addition and subtraction while letting the user decide. You can actually do it if you watched up to tutorial thirteen and you can do it in a single class. I did it and I am only fourteen. Not as hard as you would think.

Shopping | prank calls | Wholesale products | english movies | prank calls | proxy | links | prank call

Topfacebookvideos funny arabic videos

Privacy Policy