class apples{ public static void main(String arg[]){ Scanner brucey = new Scanner(System.in); int a, b, c, answer; a = 15; b = 5; answer = a/b; System.out.println(answer); }
Write a program to read a distance in kilometres (as a "double"). Compute and print the time in seconds that it would take to travel that distance at 85 kilometres per hour, then convert these seconds to hours, minutes and seconds and print those out. [see "Corresponding output" section below for expected output format] Method ====== Declare the speed as a constant. Read the distance as a "double" value, and convert it to seconds of travel using the formula time = distance / speed can u help?
h t t p : / / p c a n d m a c t u t o r i a l s . f r e e f o u r m s . o r g /
If you want to learn about computers please visit my fourm and read and tell me what you think. Just visit my website and learn a lot more about computers that you already know.
@kinkotheclown67 I'm Not bucky and I'm probably more nOObish than you with java but will try to help. Do you mean the answer is just wrong, or is it saying your code is buggy? remember to put spaces in between each */+/- etc and the numbers.
class apples{ public static void main(String args[]){ Scanner locky = new Scanner(System.in); int girls, boys; double people; girls = 11; boys = 3; people = girls / boys; System.out.println(people); }
@Cobezzz Okay guys stop being mean.. So the reason that it is 3.0 is because he has it set to int which stands for integers. Integers can not show decimals other than zero so it doesn't show remainders. Double does show remainders. So when he used int it just wiped out everything behind the decimal. When he used double it showed the decimals because it doesn't wipe them out. When he used modulus it just show the remainder. That is the whole number not the decimal like if you did division.
oh thank the lord for you dillybar because i honestly did not know where or what that sign is and it looks smaller on the tutorial :) still yet another great tutorial.
Help! I have all the code perfectly for the calculator, but every time I compile it doesn't do so automatically. It asks me to put first the second number and then it solves. Any suggestions?
i luv his tutorials , for me its a mix of humors ... its funny ..... and its helpful .... keep up the great work dude .... looking forward for more of your tutorials !
@pivotalternativ dude really no one cares that your 12. doesn't mean your'e smarter just because you're 12, it just means you have a better attention span than most 12 year olds. I was the same way when I was 12(:
I keep wandering from tutorial 7 to 11 to 8 and elsewhere...I'm trying to generate random numbers 1 through 6 (like on dice) and then assign the result to a formula. for example, rolls 3, then +2; or rolls 6 then +0. I'm trying to make a game called "How many petals on the rose". any hints?
Simple way to get both number and remainder. Disregard the System.out's if they do not interest you I just like to make it look good.Not sure if there is a simpler way to do it but the results of this are nice.
@Game2Gaming the point of this is to separate out certain areas of learning and concepts so people can find corrections if needed when they run into problems, but also 9 hour videos are a pain to skip through due to the fact that you might skip over 15 minutes if you barely click the mouse.
OMG someone help im trying the scanner bucky = new Scanner(System.in) stuff and it always give me errors and i have everything like bucky i even write the bucky word to see if was that and no nothing!!! this is what it say Exception in thread "main" java.lang.Error: Unresolved compilation problems: scanner cannot be resolved to a type scanner cannot be resolved to a type at tutorials.tutorial7.main(tutorial7.java:6)
@MinerPenguin Exception in thread "main" java.lang.Error: Unresolved compilation problems: scanner cannot be resolved to a type scanner cannot be resolved to a type at tutorials.tutorial7.main(tutorial7.java:6)
@hobosmurf its not wise practice to perform mathematical operations within a print statement. Either define your calculations and store the result in a variable or declare a method to do it for you.
@TheCookie0303 is the best game ever!!!!!!!!!! apart from the GTA's lol obviously the genre is not the same, try out the demo for 90min or look for videos on youtube
@MattMcCool Wasnt talking to you, i was talking to the NOOBS who want to rip-off minecraft :) Im glas SOME people want to make there own games and IDEAS!
@daymond12345 Oh, i know, and i must admit, i'd like to make mods for Minecraft, but in all fairness, you get more by making your own game, money for example, or if you're lucky enough, fame like Notch, i can't say i don't want fame, but it most certainly isn't my goal! :)
Great work setting up thenewboston. You´re better then my teachers at the university of Amsterdam... I donated some $ to you, so you can keep up the good work!
Anyone has somewhere i can look into it? I need to understand the logic of Modulus. I'm not english so I don't understand the part he explains it as he uses a strange expression.
@specialnogo If you divide 23 by 9, you get 2.5555 etc. if you were to sit down and divide it using long division by hand, you'd get a remainder of 5. Modulus just skips the division and only displays the remainder of the division - if the modulus brings up a 0, the number was perfectly divided.
hi
ZockoTron 20 hours ago in playlist Java (Beginner) Programming Tutorials
so int is shit all about double lol?
Estrangeftw 2 days ago
going to do all of these java tutorials before i decide if i want to study computer science at third level ;
realy helpful , thanks!
rosskinsella0 2 days ago in playlist Java (Beginner) Programming Tutorials
2 girls for every boy, nice ;D
poiuytre0987 3 days ago
0:26 75(types 76),or 76(types 75) xD
petar3993 6 days ago in playlist Java (Beginner) Programming Tutorials 2
@Rami1997 Rami equals idiot? How ironic!
b112895 6 days ago
Comment removed
b112895 6 days ago
thank you kind sir!
bogaming 1 week ago
I really like this channel! Ive made it my goal to learn java before summer break and this helps sooo much! Subscribed :D
co7331 1 week ago 5
when ever i try running 2:10 it tells me to enter the first number
It seems to be stuck on the basic calculator
PLEASE HELP
TheSomeone717 1 week ago in playlist Java (Beginner) Programming Tutorials
Scanner bucky = new Scanner(System.in); int girls, boys, people , remainder; girls = 13; boys = 2; people = girls / boys; remainder = girls % boys; System.out.println(people); System.out.println("Remain"); System.out.print(remainder);
Thanks bucky for your tutorials!
EpicMultiFailure 1 week ago in playlist Java (Beginner) Programming Tutorials
@EpicMultiFailure Lol nice name
daytdog 23 hours ago
int - integer (whole number, no decimals)
double - Anything
PretenderGCRH 1 week ago
was it anyone else's first thought when he explained the Modulus that you could use it to change the base of a number?
Frogfish999 2 weeks ago
Girls and boys and people counters :D
Exterminationable 2 weeks ago
when i did 7/ 22 it didnt give me the whole pi D:
Exterminationable 2 weeks ago
0:25 WHAT HAVE I MISSED??
dennan98 3 weeks ago
no i forgot about doing that
UnbelievableStudioAU 3 weeks ago
5 pages of notes so far...
SuperCheezyGuy 3 weeks ago in playlist Java class
@SuperCheezyGuy I have 11 so far...:)
ReeceTheComputerGeek 2 weeks ago
lol boys =3
epicshaba 3 weeks ago
import java.util.Scanner;
class apples{ public static void main(String arg[]){ Scanner brucey = new Scanner(System.in); int a, b, c, answer; a = 15; b = 5; answer = a/b; System.out.println(answer); }
}
dauub 3 weeks ago
76 seventy five
75 and seventy six
They are integers
Xenocide007 4 weeks ago in playlist More videos from thenewboston
3 boys + 6 girls > 9000 units of fun.
LeTrungAnh 4 weeks ago
@TheViolinCalamity thanks
ClanNGOG 4 weeks ago
Bucky,
What program do you use to record your monitor?
TheAwesome1Online 1 month ago 2
@TheAwesome1Online He's using camstasia i think..
DataHataz 3 weeks ago
so why dont we use doubles only?
ClanNGOG 1 month ago
@ClanNGOG because sometimes you need a whole number answer like if you were:
dividing 11 oranges between 3 people (without cutting them), or
working out interest on a bank balance (you cant have half a cent/penny/yuan/yen/rupee/whatever), or
basically any division operation which might not be a whole number but where you need one. It's very useful with the remainder (% I think) operator.
TheViolinCalamity 4 weeks ago in playlist Java (Beginner) Programming Tutorials
Broad-ended idea :P
import java.util.Scanner;
class apples{ public static void main(String args[]){ System.out.println("Number of Girls Divided by Boys--"); int girls, boys, people; girls = 7; boys = 3; System.out.println("With 7 girls and 3 boys, the results are:"); System.out.println("The Modulus, or remainder:"); people = girls % boys; System.out.println(people); people = girls / boys; System.out.println("The Divided Result:"); System.out.println(people); }
}
xPredable 1 month ago in playlist More videos from thenewboston
umzization 1 month ago
I want to know Write a program to read a distance in kilometres (as a "double").
Compute and print the time in seconds that it would take to travel that
distance at 85 kilometres per hour, then convert these seconds to hours,
minutes and seconds and print those out.
umzization 1 month ago
The math in the beginning is wrong; it should be people = girls * boys
teehee
WangsterBling 1 month ago in playlist Java (Beginner) Programming Tutorials
This has been flagged as spam show
h t t p : / / p c a n d m a c t u t o r i a l s . f r e e f o u r m s . o r g /
If you want to learn about computers please visit my fourm and read and tell me what you think. Just visit my website and learn a lot more about computers that you already know.
ColossalB 1 month ago
Mine comes out as a wrong number i put it your exact code and it doesnt work? Plss help Bucky/Greg
kinkotheclown67 1 month ago in playlist Java (Beginner) Programming Tutorials
@kinkotheclown67 I'm Not bucky and I'm probably more nOObish than you with java but will try to help. Do you mean the answer is just wrong, or is it saying your code is buggy? remember to put spaces in between each */+/- etc and the numbers.
TheViolinCalamity 4 weeks ago in playlist Java (Beginner) Programming Tutorials
he says: 75(typing 76)
saying 76(typing 75)
xD
lolmaniam 1 month ago
the modulus he's talking about is shift then press number 5
zaidalyafey 1 month ago
Hey I tryed to Divide by zero and it give me Infinity :D -- import java.util.Scanner;
class test2 { public static void main(String args[]){ Scanner bucky = new Scanner(System.in); double Patate, jambons, beuf, bouffe; Patate = 1; jambons = 8; beuf = 0; bouffe = Patate * jambons / beuf; System.out.println(bouffe); }
}
65465468 1 month ago
maybe I'm stupid, but I can't find a modules on my keyboard anywhere :/
magstrike105 1 month ago
@magstrike105 lol, I searched my keyboard for a few minutes and found out that the Modulus he speaks of is actually a % symbol. :D
oversurprisedguy 1 month ago in playlist Java Programming Tutorials
@oversurprisedguy lol fail
magstrike105 1 month ago
for brits, a Modulus is basically the Remainder.
TheHoboshowz 1 month ago in playlist More videos from thenewboston
@cobezz if you dont get how it equals 3.0 you should not be programming.... or you should turn up the volume on your pc
dddddddd92 1 month ago
@dddddddd92 i was revering to the decimal...
Cobezzz 1 month ago
Is it not possible to cast the answer as a double so the original variables are still int's but the output is a double?
212Romulus 1 month ago in playlist Java Programming Tutorials
import java.util.Scanner;
class apples{ public static void main(String args[]){ Scanner locky = new Scanner(System.in); int girls, boys; double people; girls = 11; boys = 3; people = girls / boys; System.out.println(people); }
}
it equals 3.0, explain please? :)
Cobezzz 2 months ago
@Cobezzz He explained this, it's because it's int, not double.
MattMcCool 1 month ago in playlist Java Programming Tutorials
@Cobezzz Okay guys stop being mean.. So the reason that it is 3.0 is because he has it set to int which stands for integers. Integers can not show decimals other than zero so it doesn't show remainders. Double does show remainders. So when he used int it just wiped out everything behind the decimal. When he used double it showed the decimals because it doesn't wipe them out. When he used modulus it just show the remainder. That is the whole number not the decimal like if you did division.
greendaybass1 1 month ago in playlist More videos from thenewboston
@greendaybass1 thanx
Cobezzz 1 month ago
@Cobezzz You did watch the video, right?
TheBlackDeath3 3 weeks ago
I'm watching every single one of these so that I don't miss anything in correlation to making a game.
theBaglady74 2 months ago in playlist More videos from thenewboston
Girls plus boys equals people, lol
Kingfish212 2 months ago in playlist Favorite videos 16
@Kingfish212 It should be baby...
daytdog 23 hours ago
why do i have to use int when i can use the more accurate double ?
daswada9 2 months ago
@daswada9 Because if you are making something for someone to download, you might want to keep size down, and also you have that .0000000001 bug.
jaredjeya 2 months ago
@daswada9 plus, say you are coding C.O.D, when will you ever have 5.2 bullets left or 9.45 people alive?
jaredjeya 2 months ago
@jaredjeya you have point
daswada9 2 months ago
oh thank the lord for you dillybar because i honestly did not know where or what that sign is and it looks smaller on the tutorial :) still yet another great tutorial.
0813frances 2 months ago in playlist More videos from thenewboston
@0813frances it's the percentage symbol
arcGunterz 2 months ago
ha im in 8th grade :P
kid3499 2 months ago in playlist Java Programming Tutorials
@kid3499 me too
likeppl 2 months ago
a modulus is the % sign for those who didn't know :)
Dillybar777 2 months ago
why the scanner is there when there's no user input needed but predefined variables add and subtract each other
COD5252 2 months ago
How do I type the modulus on my keyboard? Never used it for computers before ;)
SaxDude1995 2 months ago
Modulus key mmmmmmm.... Key that looks like a person mmmmmmmmmm Nope cant find the stickman
ThexKezza 2 months ago in playlist Java Programming Tutorials
Wasn't java eclipse made by java eclipse?
Ironic isn't it?
Bomberjack01 2 months ago
Im getting better at this stuff but i cant really remember all the (); by myself :P
DCM0Dz 2 months ago
Help! I have all the code perfectly for the calculator, but every time I compile it doesn't do so automatically. It asks me to put first the second number and then it solves. Any suggestions?
PsychedelicPrimate 2 months ago
@PsychedelicPrimate the same happend to me
TheDragon8or 2 months ago
I got the 1400 like :3
Laz0rGuy 2 months ago
i luv his tutorials , for me its a mix of humors ... its funny ..... and its helpful .... keep up the great work dude .... looking forward for more of your tutorials !
SzeTheProGamer 2 months ago 71
@SzeTheProGamer i dont know why i watch this but its fun and programming is for pros and im 12!
pivotalternativ 3 weeks ago
@pivotalternativ dude really no one cares that your 12. doesn't mean your'e smarter just because you're 12, it just means you have a better attention span than most 12 year olds. I was the same way when I was 12(:
pancakesimone 3 weeks ago in playlist Java (Beginner) Programming Tutorials
@pancakesimone i dint meen it that way srry if missunderstood because i ment its kinda stupid to watch programming vids if you have no use for em ;)
pivotalternativ 3 weeks ago
@pivotalternativ haha no problem man I didn't mean to be rude sorry about that:P and hope you get into coding, its a reallyyy fun hobby!
pancakesimone 3 weeks ago
@pancakesimone k no prob :D
but isnt it a hard task ? not ``HARD`` but it takes time?
pivotalternativ 3 weeks ago
@pivotalternativ haha agreed :D i m a teen too
SzeTheProGamer 3 weeks ago
@SzeTheProGamer cool :)
pivotalternativ 3 weeks ago
Neither I'm here for minecraft ;3
xXxDiukexXx 2 months ago
i am soo here to learn how to make a game
CheeseAnimation 2 months ago in playlist Java Programming Tutorials
You are the best teacher ever
AmateurTechStudios 2 months ago
Modulus?
Don't know that Pokemon.
KatanaPL 3 months ago 63
I keep wandering from tutorial 7 to 11 to 8 and elsewhere...I'm trying to generate random numbers 1 through 6 (like on dice) and then assign the result to a formula. for example, rolls 3, then +2; or rolls 6 then +0. I'm trying to make a game called "How many petals on the rose". any hints?
PhilmPhun 3 months ago
Error: Could not find or load main class Domain
I am getting this on all my class files when I try to run them?
Class files have worked before.
gam3r3602 3 months ago
Simple way to get both number and remainder. Disregard the System.out's if they do not interest you I just like to make it look good.Not sure if there is a simpler way to do it but the results of this are nice.
wthareu 3 months ago in playlist Java Programming Tutorials
import java.util.Scanner;
class advCalculator { public static void main(String args[]) { Scanner calculator = new Scanner(System.in); int cats, dogs, animals; cats = 11; System.out.print("Cats = "); System.out.println(cats); dogs = 3; System.out.print("Dogs = "); System.out.println(dogs); animals = cats / dogs; System.out.print("Total animals = "); System.out.println(animals); animals = cats % dogs; System.out.print("Remainder = "); System.out.print(animals); }
}
wthareu 3 months ago in playlist Java Programming Tutorials
turn on closed captions and go to 5:13 :p
1337Chaosboy 3 months ago in playlist More videos from thenewboston
i love you bucky <3
Cliu363 3 months ago in playlist Bucky's Java Tutorial
mine keeps saying editor does not contain a main type!!!! please help
ihavetoshutthewindow 3 months ago in playlist Java Programming Tutorials
@ihavetoshutthewindow you need to do the public static void main then type { and on the bottom type }
Hawkclan1 3 months ago in playlist More videos from thenewboston
I'm here for minecraft and runecraft coding xd
oeska143 3 months ago
wow im an idiot scratch my last comment...
82zo82 3 months ago
how do i get the modulu symbol?
82zo82 3 months ago
@82zo82 its just the normal percentage sign %, press shift and 5 on pc
Kaduvi 3 months ago
Comment removed
Kaduvi 3 months ago
Anyone here for runescape scripting?
skygayta 3 months ago in playlist More videos from thenewboston
@iArn4v I'm not here for minecraft.. but will will use it on minecraft, so you're half alone.
MineCrafterBrad 3 months ago
@MineCrafterBrad Same here I guess. If I can apply to something, I'm going to apply it to that. And as well all know, Minecraft is easily moddable.
JakeJohnRogers 3 months ago in playlist More videos from thenewboston
i kinda wanna make a Minecraft INSPIRED game...but not minecraft. my idea is to make a 3D version of one of notches old games called miners4k
Trialtrex21 3 months ago
@Trialtrex21 make it like a mmo that would be sweet ill help you when i finish learning java cuz im a noob :(
AlchemistiK1 3 months ago
@AlchemistiK1 well i still need to learn too, so itll be some time before i get the INDEV made. but i could use your help :)
Trialtrex21 3 months ago
"Scanner cannot be resolved to a type"
IIOGCII 4 months ago
Coolio:) Nice Videos.
TehMinekraftChannel 4 months ago in playlist More videos from thenewboston
you couldn't have made just one 9 hour vid --_--
Game2Gaming 4 months ago in playlist Java Programming Tutorials
@Game2Gaming the point of this is to separate out certain areas of learning and concepts so people can find corrections if needed when they run into problems, but also 9 hour videos are a pain to skip through due to the fact that you might skip over 15 minutes if you barely click the mouse.
RabidKoala546 4 months ago in playlist More videos from thenewboston
OMG someone help im trying the scanner bucky = new Scanner(System.in) stuff and it always give me errors and i have everything like bucky i even write the bucky word to see if was that and no nothing!!! this is what it say Exception in thread "main" java.lang.Error: Unresolved compilation problems: scanner cannot be resolved to a type scanner cannot be resolved to a type at tutorials.tutorial7.main(tutorial7.java:6)
HELP!!!! please
Ptm1219 4 months ago
@Ptm1219 copy and paste your code in the comment, we don't know what it says, but if we do, we could most likely help you.
MinerPenguin 4 months ago
@MinerPenguin alright this is the entire code -->
package tutorials;
import java.until.scanner;
class tutorial7 { public static void main(String args[]){ scanner bucky = new scanner (System.in); double fnum, snum, answer; System.out.println("Enter first num: "); fnum = bucky.nextDouble(); System.out.println("Enter second num: "); snum = bucky.nextDouble(); answer = fnum + snum; System.out.println(answer); }
}
in the other comment will be the error
Ptm1219 4 months ago
@MinerPenguin Exception in thread "main" java.lang.Error: Unresolved compilation problems: scanner cannot be resolved to a type scanner cannot be resolved to a type at tutorials.tutorial7.main(tutorial7.java:6)
Ptm1219 4 months ago
@Ptm1219 Change the word scanner to Scanner. The first letter is capitalized.
KingVikram 4 months ago in playlist Java Programming Tutorials
@KingVikram nop the same
Ptm1219 4 months ago
@Ptm1219 Change import java.until.scanner; to import java.util.Scanner;
it's not "until', it's "util".
Also, Scanner should be capitalized all over in the program.
KingVikram 4 months ago
@KingVikram oh ok thanks it works
Ptm1219 4 months ago
@Ptm1219 It means you forgot Main, I had the same problem, Ensure you write
Public static Void main(String args [])
ismailzd 3 months ago
@ismailzd yeah thanks man it won't happen again hahaha
Ptm1219 3 months ago
I started this for minecraft, but realized that programming is really fun so now I just do it for fun.
MCEriador 4 months ago
@hobosmurf its not wise practice to perform mathematical operations within a print statement. Either define your calculations and store the result in a variable or declare a method to do it for you.
flybwoy89 4 months ago
This has been flagged as spam show
does anyone know why this doesnt work?
final double g = 16.0
double t = 35.5
System.out.println(1 / 2 * (g * t * t));
System.out.println("meters per second squared");
any help would be appreciated
hobosmurf 4 months ago
Comment removed
Enriquedelarrazabal 4 months ago
what is minecraft...?
TheCookie0303 4 months ago in playlist More videos from thenewboston
@TheCookie0303 is the best game ever!!!!!!!!!! apart from the GTA's lol obviously the genre is not the same, try out the demo for 90min or look for videos on youtube
Ptm1219 4 months ago
0:24 76 seventy five or 75 seventy six
TheATactics 4 months ago 65
@TheATactics lol, I paused the video to come down to the comments and say the same you did xD
meandmyclones 4 months ago
modulus? I call it the percent sign ._.
octarock 4 months ago in playlist Java Programming Tutorials
Exception in thread "main" java.lang.ArithmeticException: / by zero at MathOperators.main(MathOperators.java:10)
Guess who divided by zero?
FalconPiss 4 months ago
Am I the only one NOT here for Minecraft? o_o
iArn4v 4 months ago in playlist Java Programming Tutorials 200
@iArn4v
No, you're not, i only want to learn it, also if i wrote sth else ;D
Genuigr 4 months ago in playlist Java Programming Tutorials
@iArn4v nope lol I'm with you on that..
onelerv1 4 months ago in playlist More videos from thenewboston
@iArn4v probably
Xenokee 4 months ago in playlist Java Programming Tutorials
@iArn4v cant wait to make mods
retarturtle 4 months ago in playlist More videos from thenewboston
@iArn4v No, I am here for game development and school :D
TheLifeofGaming 4 months ago in playlist More videos from thenewboston
@iArn4v MAKE YOUR OWN F**ING GAME
daymond12345 4 months ago in playlist Java Programming Tutorials
@daymond12345 I'm here for my own game...
MattMcCool 3 months ago
@MattMcCool Wasnt talking to you, i was talking to the NOOBS who want to rip-off minecraft :) Im glas SOME people want to make there own games and IDEAS!
daymond12345 3 months ago
@daymond12345 Oh, i know, and i must admit, i'd like to make mods for Minecraft, but in all fairness, you get more by making your own game, money for example, or if you're lucky enough, fame like Notch, i can't say i don't want fame, but it most certainly isn't my goal! :)
MattMcCool 3 months ago
@iArn4v I'm not here for Minecraft...
MattMcCool 3 months ago
@iArn4v Im not :D
CrisIsRatedX 3 months ago in playlist Java Programming Tutorials
@iArn4v i just want to make video games and im onily 11 years old!!! no joke.
ihavetoshutthewindow 3 months ago in playlist Java Programming Tutorials
@iArn4v no, i'm hoping to make my own game... but i might mod minecraft for practice.
dareapa1 3 months ago in playlist Java Programming Tutorials
@iArn4v Do i vote up if i am not here or down if i am not here for Minecraft, DEAMMIT YOU CONFUSED MEH!!!! -_-
ashadow0309 3 months ago
@ashadow0309 he wasn't asking a question
xXninjagingerXx 3 months ago in playlist beginners java tutorial
@xXninjagingerXx No, Look at the top comments, "thumbs up if your here to mod minecraft" Do i vote down if im not? lol
ashadow0309 3 months ago
@iArn4v I'm just here because I find this stuff interesting...I guess it could be fun to make a mod for a game, though.
Mtc529 3 months ago
@iArn4v AM here cuz of the economy i need money
osumo00001 3 months ago
@iArn4v I'm just here to learn to code :)
MonkeyMoney1011 2 months ago in playlist More videos from thenewboston
@MonkeyMoney1011
I'm here for developing for Android
upchuckfriend 2 months ago in playlist Java Programming Tutorials
@MonkeyMoney1011 me 2!
MrStropwen 2 months ago
@iArn4v i some day want to develop android apps. that's why i learn java
jhcdnx 2 months ago in playlist Fler videoklipp från thenewboston
@iArn4v You aren't. I'm not here for minecraft too.
wei2912 2 months ago
like if you're 15 and DO give a fuck.
AtactHD 4 months ago in playlist Java Programming Tutorials
Thanks SO MUCH I'm using this so I can make a bukkit plugin. Like this if you are also use this so you can make a minecraft bukkit plugin :D
harbo5 4 months ago in playlist Java Programming Tutorials
where the fuck did you get that squiggly symbol at 4:06 ???
MrHourlyCookie 4 months ago in playlist Java Programming Tutorials
@MrHourlyCookie should be shift + 5 on a standard american keyboard
RingxWorld 4 months ago in playlist Java Programming Tutorials
Great work setting up thenewboston. You´re better then my teachers at the university of Amsterdam... I donated some $ to you, so you can keep up the good work!
Stevenduizel 4 months ago
Thankyou! (I figured out my little issues)
ClubPenguinBro 5 months ago
I made a BMI calculator!
AlekKosinski 5 months ago
wat program r u using?
oscarsimpson70 5 months ago
@oscarsimpson70 eclipse it's hard to use o.O
ComboPhobic 5 months ago in playlist Java Programming Tutorials
@oscarsimpson70 use jcreator or netbeans, eclipse you have to compile it manually by going to the command prompt.
Claymore2408 5 months ago
@Claymore2408 Actually, it was Notpad++ that makes you go to the command prompt. Eclipse works fine. :)
ShootLiegh 5 months ago in playlist Java Programming Tutorials
first of all THANK YOU :)
ur vdos r rly grt.
import java.util.Scanner; and Scanner bucky = new Scanner(System.in);
are not needed in this program i guess,
pls chk it .
vinuthnarockseema 5 months ago
Comment removed
uwmtennis 5 months ago in playlist More videos from thenewboston
COOKIES!
BoxedGaming 5 months ago
Is the modulus the percent sign above the 5?
bluestreak711 5 months ago
@bluestreak711 yes, though it is called "modulo".
rx7here 5 months ago
@bluestreak711 yes
GENGISKHANTHEMONGOL 5 months ago
i didn't get the Mod part. (%)
Anyone has somewhere i can look into it? I need to understand the logic of Modulus. I'm not english so I don't understand the part he explains it as he uses a strange expression.
specialnogo 5 months ago
@specialnogo If you divide 23 by 9, you get 2.5555 etc. if you were to sit down and divide it using long division by hand, you'd get a remainder of 5. Modulus just skips the division and only displays the remainder of the division - if the modulus brings up a 0, the number was perfectly divided.
picardfish 5 months ago
@picardfish tks m8. I kind searched it in google to my language understood what it was. But tks for the answer!
specialnogo 5 months ago
I have a question...
If:
Int1 = 10
Int2 = 25
and Int3 = Int1 = Int2 (This works but I suppose you already knew that),
If that works and total now equals 25, Would you ever recommend using this?
I think it's unnecessary to do Int3 = Int1 = Int2 instead of using Int3 = Int2.
OSDolphin 5 months ago in playlist Java Programming Tutorials