Neoweb4u
Neoweb4u|Full Java Course: https://course.alexlorenlee.com/courses/learn-java-fast If you happen to’re new to programming, I HIGHLY RECOMMEND fixing challenges on Edabit: …
supply

17
Oct
Neoweb4u
Neoweb4u|Full Java Course: https://course.alexlorenlee.com/courses/learn-java-fast If you happen to’re new to programming, I HIGHLY RECOMMEND fixing challenges on Edabit: …
supply
Alex Lee
Get my favorite programming audiobook for free! https://audibletrial.com/alexleefree
Abilene Masood
Hi Alex, thank you for your so many wonderful postings. I am learnign java. Since, "void" is no return type method and used on 'no parameter" method, should we avoid to use "void " on the integer methood, which has parameter? for example, " public static void welcome () { }, and public static int multiply (int a, int b){ }. thank you.
BTS Army
Alright! you are the only one youtuber to whome I subscribed!
Wish for your success
And you look like one of the Korean actors!!
A Normal Platypus
I took a whole hour and a half in class trying to understand this. A Youtube search later, and it was this easy?
jeevan clk
This's just outstanding 💥
Zachary Binx
Thank you so much, you saved me.
cường nguyễn
Thank you
Natalie Martin
thank you so much you make this stuff seem so much easier than it does in class
Alex Tanner
thank you fellow alex! isnt there a way to put methods in another java class, in the same src , and still use them in Main?
Dark Scept3r
Thank you so much for the help. Methods kinda make sense to me now
dylan ashton
great vid thanks sir
David Bolduc
it always looks so easy in the video, then I try it and get an error. fml
Ahmad Amir
What if I want to take the values a and b from a file?
mayed 22
That helped a lot thx
Faris Alk
Public class Alexisgoated{
Public static void main(String[]args){
System.out.print(‘’thanks ‘’);
}
}
UNKNOWNYMOUS
System.out.println ("You're way better than my teacher");
122plus 1
String message = "You are Awesome";
System.out.print(message);
Akhter Moni
really helpfully
#makeYTgreat Again
greta tutorial i know a bit late but the shortcut method seems to no longer work without flagging up an error.
A Dog
Thanks Alex
RAJATH KUNDER
Nice❤
gaurav yadav
Thank u buddy ❤️ it's really helpful
Hunter Jiang
Thanks a lot! Love your explanation so much 🙂
Ameer Falah
Hello Alex, I have the below method code but I have no Idea how to return it, Can you help me with this
import java.util.Scanner;
public class InputCalculator {
public static void inputThenPrintSumAndAverage(){
int sum = 0;
int count = 0;
int avg = 0;
Scanner sc = new Scanner(System.in);
while (true){
boolean isInt = sc.hasNextInt();
if (isInt){
int value = sc.nextInt();
sum+= value;
count++;
} else if (count == 0){
System.out.println("Sum = 0 AVG = 0");
break;
} else {
avg = sum / count;
System.out.println("sum = " + sum + "AVG = " + avg);
}
sc.nextLine();
}
sc.close();
}
}