I was doing great until the last 2 tutorials. I feel like they could be better explained because it seems like a ton more work than it needs to be. I understand Java is based around oop and classes, but it would be nice to get a better way to see it rather than the info dump early on most classes and tutorials do it. I'm doing the MS edx course and they have a better approach to it, though some of their content is lacking so I'm using this to brush up a bit. I did his C and C++ tutorials and they were so much better explained.
Overall, I know he's an excellent educator as shown through many of his other tutorials and number of people who praise him. I just kinda wish he'd come back and redone these to make people just jumping in not so lost so quickly.
I dont think all these you tube-guys( I mean ALL) can really explain what a construct is , at best they confuse you as they themselves are learning the concept. Best bet is to refer some good TEXTS !
public static void main(String[] args) { // write your code here Scanner scanswitch = new Scanner(System.in); System.out.println("Enter "1" for addition and "2" for subtraction"); String abc = scanswitch.nextLine();
switch (abc) { case "1": Scanner scanadd = new Scanner(System.in); System.out.println("Enter first number"); double aone = scanadd.nextDouble(); System.out.println("Enter second number"); double atwo = scanadd.nextDouble();
System.out.println("Type "Third" to enter third number or type "End" to calculate"); String def = scanadd.nextLine();
switch (def) { case "Third": System.out.println("Enter third number"); Scanner scanthird = new Scanner(System.in); double athree = scanthird.nextDouble(); break;
case "End": System.out.println("Sum = " + aone + atwo);
} } } } Can someone tell me why this program isn't working? I haven't written the stuff for subtraction yet. (p.s) is know it isn't complete I was just checking if I had done it correctly or not. I wrote this in another project but it was showing error even though nothing was underlined with red. I just copied it and it worked but it isn't letting me type either third or end. It ends too quickly
so setname method is not use in main program and we use the tuna class for input the girlname, so if the setname method is delete, so the output is still same?
3:42 I still clearly remember years ago laughing out loud at this moment the library in university, and everyone looked at me like i was a weirdo. Good times… thank you, Bucky
I thought classes' names in java should start with first capital letter
4:10 tunaobject 2 not 21
Thaaaanks biaaaaatch. Best explanation gurrrrrlllll (or boiiiiiiiii)
I had to covert his 16 & 17 tutorial into my crush name coz I never had boyfriend.
very helpful, thank u so much. you are the best.
what the hell is up with the object names in this vid
that "appropriately named tunaObject2" haahahahaha
ur first gf was kelsi monroe ?
Hi kelsey , Hi tunaObject2 .
Did he just call a girl an object unironically?
Thank you this was a huge help for me
2:38 as soon as you create your object such as this
Points at Kelsey
I was doing great until the last 2 tutorials. I feel like they could be better explained because it seems like a ton more work than it needs to be. I understand Java is based around oop and classes, but it would be nice to get a better way to see it rather than the info dump early on most classes and tutorials do it. I'm doing the MS edx course and they have a better approach to it, though some of their content is lacking so I'm using this to brush up a bit. I did his C and C++ tutorials and they were so much better explained.
Overall, I know he's an excellent educator as shown through many of his other tutorials and number of people who praise him. I just kinda wish he'd come back and redone these to make people just jumping in not so lost so quickly.
r/ihavesex
Pro tip = do understand this video completely because there is a much complex topic waiting for you in lecture number 39😂😂😂
I dont think all these you tube-guys( I mean ALL) can really explain what a construct is , at best they confuse you as they themselves are learning the concept. Best bet is to refer some good TEXTS !
1:16 iT SHOULD be the constructor's name is the same as the class name I think
TFW you forget everything you learned last semester in college – THIS IS EXACTLY WHAT I NEEDED. Bucky, you're amazing!
Java String Pool
https://www.youtube.com/watch?v=Cov-WpM8cOM&t=419s
I followed along and wonder why mine was printed in the same line in console. Any advice?
package com.arjun;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// write your code here
Scanner scanswitch = new Scanner(System.in);
System.out.println("Enter "1" for addition and "2" for subtraction");
String abc = scanswitch.nextLine();
switch (abc) {
case "1":
Scanner scanadd = new Scanner(System.in);
System.out.println("Enter first number");
double aone = scanadd.nextDouble();
System.out.println("Enter second number");
double atwo = scanadd.nextDouble();
System.out.println("Type "Third" to enter third number or type "End" to calculate");
String def = scanadd.nextLine();
switch (def) {
case "Third":
System.out.println("Enter third number");
Scanner scanthird = new Scanner(System.in);
double athree = scanthird.nextDouble();
break;
case "End":
System.out.println("Sum = " + aone + atwo);
}
}
}
}
Can someone tell me why this program isn't working?
I haven't written the stuff for subtraction yet.
(p.s) is know it isn't complete I was just checking if I had done it correctly or not.
I wrote this in another project but it was showing error even though nothing was underlined with red.
I just copied it and it worked but it isn't letting me type either third or end.
It ends too quickly
if (firstGirlfriend == Null, Second == compileError), System.out.println("Find A Girl Friend to learn Constructor");
so setname method is not use in main program and we use the tuna class for input the girlname, so if the setname method is delete, so the output is still same?
"Your girlfriend was null"
No truer words were spoken.
3:42 I still clearly remember years ago laughing out loud at this moment the library in university, and everyone looked at me like i was a weirdo. Good times… thank you, Bucky
how doi i know that i need to use "public void" or just "public", or only "void", " private. "?
Literally objectfying women
but did Kelsey eat Nicole's Tuna?? comment below
You never explained how to put the string on the next line
Using that print f method u forgot to mention the back slash and n
" n"
in the print F statement that you added after the %s on this video its
System.out.printf("your name %sn" getName);
Starting to get doubts for his skills as a programmer as new info about more girlfriends arise
Class 1 to 14> me: ok, its easy
Class 15 to 16> me: whatt?
toona
Schrödinger's Girlfriend
Roses are red
Violets are blue
Kelsey was your first girlfriend
And Nicole too
“Nicole, that was the name of my second girlfriend. Appropriately named tunaObject2”
Fucking savvaggeeeee 😂😂
thats confusing
It's on my recommendations after 10 years…
You need to capitalize tuna and apples and anytime you use it aftereward. per naming conventions
can anybody tell me what compiler is he using?
Thank you for this ! You helped me more than my prof
Why can't my professor teach like this guy!!!
I get output only as My first girlfriend was . The object doesn't return any value (the name). I am using Java 8 and jre 1.8
yeah i get it u got 2 gf´s …u dont have to rub this in my face =/