If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h
These videos kept me in computer science, you made Objects make sense to me. Couldn’t understand them my whole sophomore year until I watched your videos. Very happy you’re making videos again to help people that are in the same situation as I was again.
@@yur4953 figure out why you’re in CS, it’s important. If you can’t find passion or interest that drives you, you’re going to struggle. Rn especially with how tight the market is. An average candidate is someone with internships, projects, and an understanding of the concepts. If you’re not willing to try and be better than average, there’s thousands more out there who will.
Alex, I rarely write comment on any video, however your videos are amazing, you are explaining the Java concepts in the simplest way in whole world :) I appreciate your efforts and thank you very much for such a resourceful TH-cam channel. I hope you continue posting your amazing videos, maybe some Java web application projects. Love!
you're still making videos?? I just learned about you and recently watched your "I'm not doing java videos anymore videos." Didn't check the date though. I'm an adult learner in my second programming class and it is a huge struggle. I'm looking forward to binging your videos to learn, thank you!!!
Hey, Alex I am aryan kushwaha from India, I just want to tell you that you should have to make some real project-based video just like you made on tick tac toe but something in advance so that it helps us to learn more. can you plz make videos on Java projects for beginners it helps us a lot to understand Java This is a huge request. and love from India.♥♥
@alexlorenlee In case of ArrayIndexOutOfBoundsException we didn't needed to add throws in arrayPractice method is because ArrayIndexOutOfBoundsException is an Unchecked exception. That means, compiler doesn't force you to handle it using throws or try catch. In case of Exception class, Exception class itself is a checked exception. Hence when you used throw new Exception, it made it mandatory for you to handle it using throws Exception in arrayPractice method and further using try catch block in main method or by throws in main method. Also wanted to let you know that your videos are simple and helpful🙂👍
Hi, Alex. I really enjoy your channel and content. I am currently going to a coding bootcamp and i want to know what is a typical day like as a coder. I enjoy coding and find it fun , but sometimes challenging. I know there is a bunch of youtuber film their daily code life but they really don't tell us what they do. Is it possible you could make a video about what you do and what a typical day would be like?
The things you teach are good, Sir, where you can quickly understand because it is direct to the point. I didn't go to a programming in college but I'm just learning on my own. I hope you can also make a tutorial on how to make an physics engine.Please🙏
Hey Alex! I have a request to make for the whole Java Series you have. It could be helpful to 1. make the playlists again (theyre all bunched up into one big one now) 2. maybe make a little task for each of the series? That takes all the things from the basics course and combines it into a project to work on. With a little stopper saying: "okay now do it yourself" and right after resuming the video you have the answer? Does that make sense? I just love you videos man
Suggestion 7:45: index should be greater than 5 or equal, as the array size is 5, and you know the array is 0-indexed, so the 5th index is unreachable!
Hey Alex, I want create a code about a Restaurant having three different foods for their customers based on the time the user walks in. For example having food like jellof rice and chicken from 8am-12pm, then fried rice from 12:30pm-3pm and then swallow from 3:30pm-10pm. Please how do I declare time on Java and run it as a code ?🙏
Why did it prompt for add throws exception while you were throwing throw new arrayindexout of bound exception But it was asking you to explicitly add throws Exception to the method when you canged from through new aiob exception to throw new exception!?
If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h
Are you making new videos or all finished??
your video is being used in my university to teach us.
I’ve felt like giving up so many times but ur videos motivate me to push on, so thank u ❤️
These videos kept me in computer science, you made Objects make sense to me. Couldn’t understand them my whole sophomore year until I watched your videos. Very happy you’re making videos again to help people that are in the same situation as I was again.
Hey what advice would you give to a person who’s almost giving up on Cs😔 I’m currently in my second Semester and this is really tough
@@yur4953 figure out why you’re in CS, it’s important. If you can’t find passion or interest that drives you, you’re going to struggle. Rn especially with how tight the market is. An average candidate is someone with internships, projects, and an understanding of the concepts. If you’re not willing to try and be better than average, there’s thousands more out there who will.
I wouldn't have graduated from college if it wasn't for your videos! Thank you for all you help! 💛💛
This dude is great, I am a newbie in Java and he has really helped me
Are you currently working with an IT firm?
Alex, I rarely write comment on any video, however your videos are amazing, you are explaining the Java concepts in the simplest way in whole world :) I appreciate your efforts and thank you very much for such a resourceful TH-cam channel. I hope you continue posting your amazing videos, maybe some Java web application projects. Love!
Very nice video. Carry on the good work sir.
you're still making videos?? I just learned about you and recently watched your "I'm not doing java videos anymore videos." Didn't check the date though. I'm an adult learner in my second programming class and it is a huge struggle. I'm looking forward to binging your videos to learn, thank you!!!
Hey, Alex I am aryan kushwaha from India, I just want to tell you that you should have to make some real project-based video just like you made on tick tac toe but something in advance so that it helps us to learn more. can you plz make videos on Java projects for beginners it helps us a lot to understand Java This is a huge request. and love from India.♥♥
Hey Alex please make springboot playlist
It would be great
Your teaching style is superb
Thank you alex for teaching me java you made me a better developer
The best channel for java in TH-cam▶️
@alexlorenlee In case of ArrayIndexOutOfBoundsException we didn't needed to add throws in arrayPractice method is because ArrayIndexOutOfBoundsException is an Unchecked exception. That means, compiler doesn't force you to handle it using throws or try catch.
In case of Exception class, Exception class itself is a checked exception. Hence when you used throw new Exception, it made it mandatory for you to handle it using throws Exception in arrayPractice method and further using try catch block in main method or by throws in main method.
Also wanted to let you know that your videos are simple and helpful🙂👍
Best programmer ever! thx alex 💗
thankyou so much , this helped me a lot for preparing for my school exam !!!
i miss u alex lee
He is a political figure now
BRO COME BACK MAN, I MISS YOUR TUTORIALS, ITS BEEN 9 MONTHS NOW
He became a politician
@@mahdikhairddine damn
Hi, Alex. I really enjoy your channel and content. I am currently going to a coding bootcamp and i want to know what is a typical day like as a coder. I enjoy coding and find it fun , but sometimes challenging. I know there is a bunch of youtuber film their daily code life but they really don't tell us what they do. Is it possible you could make a video about what you do and what a typical day would be like?
Hi Alex! Thanks for the throw/throws vid 🙏🙏😀
The things you teach are good, Sir, where you can quickly understand because it is direct to the point. I didn't go to a programming in college but I'm just learning on my own. I hope you can also make a tutorial on how to make an physics engine.Please🙏
Love your video! Thank you.
Weeeee need you comeee backkk
Hey Alex!
I have a request to make for the whole Java Series you have. It could be helpful to 1. make the playlists again (theyre all bunched up into one big one now) 2. maybe make a little task for each of the series? That takes all the things from the basics course and combines it into a project to work on. With a little stopper saying: "okay now do it yourself" and right after resuming the video you have the answer?
Does that make sense?
I just love you videos man
can u create the video for printing series through java loop day after tom is my exam ? can u plz sir?
When you coming back to youtube man? how you been lately? Miss your videos!
Can you make more videos you helped me get an a+ on my CS tests
I LOVE UR NEW KEYBOARD ITS ADORABLE 🥹
Wait is he back?
Hey, could you make a video about Threads? :)
Can you make a video about StringBuilders plz :)
Was waiting for this thank youuuu ❤🎉
Thank you
hello alex i just visit your channel so sorry for late quite busy lately.❤
Suggestion 7:45:
index should be greater than 5 or equal, as the array size is 5, and you know the array is 0-indexed, so the 5th index is unreachable!
Are you going to make a Video on Bubble and Insertion Sort?
Make video on File, iostream and generics too
Hey Alex, I want create a code about a Restaurant having three different foods for their customers based on the time the user walks in. For example having food like jellof rice and chicken from 8am-12pm, then fried rice from 12:30pm-3pm and then swallow from 3:30pm-10pm. Please how do I declare time on Java and run it as a code ?🙏
please upload more videos
nice Explanation sir
Thank you Alex😊
Love the keyboard!
Hey Alex and Java lovers, are there projects that one can do to make him or her perfect and sharpen his skills in java?
What is this program he is using to create these new java projects? It looks so sick
Thank you Alex
please use dark mode, my eyes are burning
do any of your course is on udemy ?
what keyboard is that?? so nice
Please make a video about bit manipulation and bitwise operators in java!!!!
Do you think you could go over comparable and comparator?
Wait you returned on making tutorials? I thought we lost you.
Why did it prompt for add throws exception while you were throwing throw new arrayindexout of bound exception
But it was asking you to explicitly add throws Exception to the method when you canged from through new aiob exception to throw new exception!?
hi do you know any good websites to practice what I have learned
Hi sir alex, how to initialize the array without typing value manually but by using for loop?😢
Can you give us a junit and mockito tutorial
Can you make collections and spring spring boot java vedios please
Here we are don't turn away now!!!
Do you make good money? I hope you do thank you
nice keyboard
Java king 🤴 🙌
you should leetcode problems
Okay, I mean, I loved your tutorial, but the title is a tongue twister lol
import java.util.Scanner;
public class TwoHalves {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while (true) {
System.out.println("Enter a string (type 'exit' to quit):");
String input = scanner.nextLine();
if (input.equalsIgnoreCase("exit")) {
break;
}
printTwoHalves(input);
}
scanner.close();
}
private static void printTwoHalves(String input) {
System.out.println("Original string: " + input);
System.out.println("(" + input.length() + " letters - " + (input.length() % 2 == 0 ? "Even" : "Odd") + ")");
if (input.length() % 2 == 0) {
String firstHalf = input.substring(0, input.length() / 2);
String secondHalf = input.substring(input.length() / 2);
System.out.println("= loveUTOO" + firstHalf);
System.out.println("= love" + secondHalf);
System.out.println("= Utoo" + firstHalf.toUpperCase());
System.out.println("Original string");
System.out.print("1st half: " + firstHalf);
System.out.println();
System.out.print("2nd half: " + secondHalf);
System.out.println();
if (firstHalf.equals(secondHalf)) {
System.out.println("2 halves are the same");
} else {
System.out.println("2 halves are not the same");
}
} else {
System.out.println("(Odd number of letters - cannot be split evenly)");
}
System.out.println("------------------------------");
}
}
import java.util.Scanner;
public class Quiz2 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.print("Enter a 5 letter string: ");
String input = scanner.nextLine();
if (input.length() != 5) {
System.out.println("Error: Please enter a 5-letter string.");
return;
}
StringBuilder manipulatedString = new StringBuilder();
manipulatedString.append(input.charAt(4));
manipulatedString.append("-");
manipulatedString.append(input.charAt(1));
manipulatedString.append(input.charAt(2));
manipulatedString.append(input.charAt(3));
manipulatedString.append("-");
manipulatedString.append(input.charAt(0));
System.out.println(manipulatedString.toString());
}
}
import java.util.Scanner;
public class Quiz3 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while (true) {
System.out.print("Enter a string: ");
String input = scanner.nextLine();
if (input.equalsIgnoreCase("quit")) {
break;
}
analyzeString(input);
}
System.out.println("Goodbye!");
}
private static void analyzeString(String input) {
if (input.length() < 2) {
System.out.println("Result: Too short.");
return;
}
System.out.println("Result:");
System.out.println("Original String: " + input);
boolean isEven = input.length() % 2 == 0;
StringBuilder firstHalf = new StringBuilder();
StringBuilder secondHalf = new StringBuilder();
if (isEven) {
int halfLength = input.length() / 2;
firstHalf.append(input, 0, halfLength);
secondHalf.append(input, halfLength, input.length());
System.out.println("1st half: " + firstHalf);
System.out.println("2nd half: " + secondHalf);
System.out.println("2 halves are the same: " + firstHalf.toString().equals(secondHalf.toString()));
if (firstHalf.toString().equals(secondHalf.toString())) {
System.out.println("= " + modifyString(firstHalf.toString()));
} else {
System.out.println("= " + modifyString(firstHalf.toString()) + " " + modifyString(secondHalf.toString()));
}
} else {
int halfLength = input.length() / 2;
firstHalf.append(input, 0, halfLength);
secondHalf.append(input, halfLength + 1, input.length());
System.out.println("1st half: " + firstHalf);
System.out.println("2nd half: " + secondHalf);
System.out.println("2 halves are the same: " + firstHalf.toString().equals(secondHalf.toString()));
System.out.println("|--|--");
}
System.out.println("(" + input.length() + " letters " + (isEven ? "Even" : "Odd") + ")");
}
private static String modifyString(String input) {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < input.length(); i++) {
if (i == 0) {
sb.append(Character.toUpperCase(input.charAt(i)));
} else {
sb.append(input.charAt(i));
}
}
sb.append("oO");
return sb.toString();
}
}
import java.util.Scanner;
public class TwoHalves {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while (true) {
System.out.println("Enter a string (type 'exit' to quit):");
String input = scanner.nextLine();
if (input.equalsIgnoreCase("exit")) {
break;
}
printTwoHalves(input);
}
scanner.close();
}
private static void printTwoHalves(String input) {
System.out.println("Original string: " + input);
if (input.length() % 2 == 0) {
String firstHalf = input.substring(0, input.length() / 2);
String secondHalf = input.substring(input.length() / 2);
System.out.println("1st half: " + firstHalf);
System.out.println("2nd half: " + secondHalf);
if (firstHalf.equals(secondHalf)) {
System.out.println("2 halves are the same");
} else {
System.out.println("2 halves are not the same");
}
} else {
System.out.println("(Odd number of letters - cannot be split evenly)");
}
System.out.println("---");
}
}
Mago
import java.util.Scanner;
public class TwoHalves {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while (true) {
System.out.println("Enter a string (type 'exit' to quit):");
String input = scanner.nextLine();
if (input.equalsIgnoreCase("exit")) {
break;
}
printTwoHalves(input);
}
scanner.close();
}
private static void printTwoHalves(String input) {
System.out.println("Original string: " + input);
System.out.println("(" + input.length() + " letters - " + (input.length() % 2 == 0 ? "Even" : "Odd") + ")");
if (input.length() % 2 == 0) {
String firstHalf = input.substring(0, input.length() / 2);
String secondHalf = input.substring(input.length() / 2);
System.out.println("= loveUTOO" + firstHalf);
System.out.println("= love" + secondHalf);
System.out.println("= Utoo" + firstHalf.toUpperCase());
System.out.println("Original string");
System.out.print("1st half: " + firstHalf);
System.out.println();
System.out.print("2nd half: " + secondHalf);
System.out.println();
if (firstHalf.equals(secondHalf)) {
System.out.println("2 halves are the same");
} else {
System.out.println("2 halves are not the same");
}
} else {
System.out.println("(Odd number of letters - cannot be split evenly)");
}
System.out.println("------------------------------");
}
}
Alex, do you have instagram?