Back Java Tutorial

120+
Created By: Derek Banas
Published At: 2019-02-09
Search Query: Java Tutorial
Tags: Java Tutorial Java Java Programming Learn Java
Code & Transcript : http://bit.ly/JavaTheTut
Subscribe to Me: http://bit.ly/2FWQZTx
Best Java Book : https://amzn.to/2SAzsc2

MY UDEMY COURSES ARE 87.5% OFF TIL March 26th ($9.99) ONE IS FREE

➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science https://bit.ly/Master_Python_50
➡️ C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month https://bit.ly/C_Course_50
➡️ FREE 15 hour Golang Course!!! : https://bit.ly/go-tutorial9 (100 Available)

This is an updated Java tutorial that covers what you'd find in a 1,000 page book. I cover Main, Println, Variables, Data Types, Casting, Math, Random Numbers, Strings, StringBuilder / StringBuffer, Arrays, ArrayList, Iterators, LinkedList, User Input, Conditionals, If / Else, Ternary Operator, Switch, For, While, Do While, Methods, Recursion, Enumerated Types, Exception Handling, Class, This, Getters / Setters, Printf, Inheritance, Interface, Abstract Classes, Streams, Map, Filter, Reduce, Lambda Expressions, File System Manipulation, Character Streams, Binary Streams, Generics, Threads, Databases and more.

If you find tutorials like this useful, consider turning off Ad Blocking software. I only use one 5 second skippable ad during this entire 2 1/2 hour video. I'd greatly appreciate it if you don't block it. Thank you :)

GET FREE STUFF WHILE SUPPORTING MY TUTORIALS
1. Get a Free Stock : share.robinhood.com/derekb1560
2. Get 2 Free Audiobooks : https://amzn.to/2Y5FV2p

Like the channel? Consider becoming a Patreon! Check it out here:
►► https://www.patreon.com/derekbanas

*Watch More Learn in One Videos*
►► Java - https://youtu.be/n-xAqcBCws4
►► C++ - https://youtu.be/Rub-JsjMhWY
►► Python - https://youtu.be/N4mEzFDjqtA
►► MySQL - https://youtu.be/yPu6qV5byu4
►► PHP - https://youtu.be/7TF00hJI78Y
►► Kotlin - https://youtu.be/H_oGi8uuDpA
►► C# - https://youtu.be/lisiwUZJXqQ
►► JavaScript - https://youtu.be/fju9ii8YsGs
logo Ask VidTutorAssistant
Comment
or
Question
Your name
Comments with generated responses
@ahmadhajoj1125
2019-03-14

Your really best teacher can you make applications examples more things please i always trying to learn from you aainy giving up i understand you well but i wanna see you makng web desktop application please

@derekbanas

Thank you very much :) I have Android tutorials using Java. In my big Java tutorial I make applications https://youtu.be/TBWX97e1E9g

VidTutorAssistant (GPT-4)

Thank you so much for the compliment, @ahmadhajoj1125! I'm glad to hear you're finding the content useful. Your suggestion for more application examples, specifically for web and desktop applications, is noted. We'll definitely work towards fostering your learning journey and ensuring it's impactful. Keep an eye out for upcoming videos - we're hoping to delve into more practical examples soon. Until then, happy coding and never give up!


@mattgraves3709
2019-09-14

Derek Banas has objects inside of it.

ya know I have watched this video so many times I can mouth the words!!

Don't misunderstand, I got it the first time:)... I'm a professional Android developer but still there are times where I could go months without using something in Java and might forget its there when building a solution!😂Anyhoo...this keeps it fresh, let it play in the background.

Derek your videos are the king of reference material for me. Thank you!

@derekbanas

Thank you for all the nice compliments :) I greatly appreciate them and you!!!!

VidTutorAssistant (GPT-4)

Hello @mattgraves3709, thank you for this amazing comment! It absolutely makes my day to hear that my videos help keep your programming skills sharp, even if it's just playing in the background. You're the exact reason I create these thorough, cram-packed tutorials—to be a handy reference for anyone in any situations—be it a newbie or a seasoned professional such as yourself. I truly appreciate your support and promise to keep the content rolling. And remember, even the best of us need a refresher once in a while, so there's no shame in it! Keep coding and keep learning, friend!


@NargaKuruga
2020-07-24

Thanks very much for yet another unique and amazing tutorial Derek !
Your efforts and immensely appreciated

@derekbanas

Thank you for the compliment :) It is my pleasure to help

VidTutorAssistant (GPT-4)

Thank you so much for your kind words, @NargaKuruga! I'm thrilled to hear that you're finding my tutorials helpful. Stay tuned for more, and feel free to ask questions or suggest specific topics you'd like me to cover in my upcoming videos on Java or anything else. Happy coding!


@viditkhandelwal9917
2019-02-09

I had learned Java quite some time ago and then C++ and Python and worked a lot with them . But I still cannot figure out what can I use Java for . Any ideas?

Btw Great Video, have been following your channel for a long time now.

@derekbanas

Java is amazing for enterprise development, but it can do just about anything. It is the most in demand language by far.

VidTutorAssistant (GPT-4)

Hi @viditkhandelwal9917, thank you for sticking with my channel and for the kind words.

Java has a multitude of applications. It’s deployed in creating desktop applications, web-applications, enterprise applications, cloud-based services, and even for the mobile operating system Android, which is Java-based.

Java shines in its use for "write once, run anywhere" thanks to its virtual machine, which interprets Java Bytecode into native machine language. This portability can be great to maximize the efficiency of your development process.

In enterprise situations, Java is commonly used for backend processes like data processing since it’s very robust and secure.

I've barely scratched the surface here, Java has a lot more to offer. Hopefully, this gives you a glimpse of what you can do with it! Thanks again for being part of our community!


@Marco-bp8nh
2021-03-21

Thanks for this video! Was great to repeat and learn new stuff within short time.

@derekbanas

I'm happy I could help :)

VidTutorAssistant (GPT-4)

Thanks a lot for taking the time to leave a feedback, @Marco-bp8nh. I'm really glad to hear you found the video helpful in reinforcing old concepts and picking up new ones. Keep practicing because that's the best way to fully grasp a programming language like Java. If you have any specific topics you'd like me to cover in future videos, don't hesitate to mention them. Until next time, happy coding!


@minguinmyoui7786
2019-03-16

i'm new to programming.

can someone explain why the output in 39:06 "System.out.println(iL1.indexOf(4));" is 7?

i am so confused. (sorry for my bad english)

@derekbanas

That is because I asked what is the index location in the array for the number 4. It is in the 7th index position. Indexes start at 0 and go up from there.

VidTutorAssistant (GPT-4)

Hi there @minguinmyoui7786, absolutely no need to apologize - your question is a great one and it starts us off on some important concepts. The "System.out.println(iL1.indexOf(4));" statement is used to find the index of the number 4 in an ArrayList, iL1. In Java, indexes start from 0, meaning that the first element in a list is at the '0th' position.
So if our ArrayList iL1 looks something like [1, 2, 3, 7, 8, 9, 10, 4, 5, 6], then the number 4 is in the 7th index position (starting from 0). That's why the output of that code segment is 7. Remember, it's not about the value 4, but its location or position within the list.
Hope this helps, and keep those questions coming! Programming is a journey, and every question helps you improve. Cheers!


@lemonMemes311
2019-06-16

@12:47 you have the code: int strInt = Integer.parseInt("10");

You said you were converting from string to int, but you already had it declared as an integer. I dont see where the variable was ever a string.

@derekbanas

"10" is a string

VidTutorAssistant (GPT-4)

Hi @lemonMemes311, thanks for your question! The line of code you mentioned, "int strInt = Integer.parseInt("10");", is indeed converting a string to an integer. Here's how: The "10" inside the parentheses is in quotation marks, which makes it a string. The function Integer.parseInt then takes that string as a parameter and converts it into an integer. The final result is then stored in the variable strInt. So the "strInt" is a variable declaration of type integer, and it is assigned the converted string value. I fully understand where the confusion can arise and I appreciate you for bringing this up. Keep those questions coming!


@karankap00r
2021-04-29

Excellent tutorial for both those new to Java and those willing to get a refresher!

@derekbanas

Thank you Happy to be of help :)

VidTutorAssistant (GPT-4)

Thank you so much, @karankap00r! It's always heartening to know when my video tutorials provide value to viewers whether they are Java beginners or experienced programmers in need of a brush-up. Please don't hesitate to drop a comment if you have any queries or requirements on specific topics. Keep coding and happy learning!