Back Java Full Course for free โ˜•

120+
Created By: Bro Code
Published At: 2020-11-09
Search Query: Java Arrays,Java Class Methods,Java Classes,Java Constructors,Java File Handling,Java Files,Java For Loop,Java Get Started,Java Math,Java Methods,Java Objects,Java OOP,Java Read Files,Java Read Files,Java Read Files,Java Syntax,Java Tutorial,Java Type Casting,Java User Input,Java While Loop
Tags: java java tutorial for beginners java for beginners how to code java how to program java java full course java complete course java gui java swing java gui tutorial java swing tutorial gui java yt:cc=on
Java tutorial for beginners full course
#Java #tutorial #beginners
โญ๏ธTime Stampsโญ๏ธ
#1 (00:00:00) Java tutorial for beginners โ˜•
#2 (00:20:26) variables โŒ
#3 (00:32:58) swap two variables ๐Ÿ’ฑ
#4 (00:36:42) user input โŒจ๏ธ
#5 (00:44:40) expressions ๐Ÿงฎ
#6 (00:49:13) GUI intro ๐Ÿšฉ
#7 (00:55:01) Math class ๐Ÿ“
#8 (01:01:08) random numbers ๐ŸŽฒ
#9 (01:05:39) if statements ๐Ÿšง
#10 (01:11:51) switches โฌ‡
#11 (01:16:36) logical operators โ—
#12 (01:24:33) while loop ๐Ÿ”„
#13 (01:28:13) for loop โžฐ
#14 (01:32:23) nested loops โžฟ
#15 (01:38:28) arrays ๐Ÿš—
#16 (01:44:54) 2D arrays ๐Ÿšš
#17 (01:52:59) String methods ๐Ÿ’ฌ
#18 (01:59:18) wrapper classes ๐ŸŽ
#19 (02:06:30) ArrayList ๐Ÿงพ
#20 (02:11:02) 2D ArrayList ๐Ÿ“œ
#21 (02:17:35) for-each loop ๐Ÿ”ƒ
#22 (02:21:20) methods ๐Ÿ“ž
#23 (02:32:24) overloaded methods โ˜Ž๏ธ
#24 (02:38:03) printf ๐Ÿ–จ๏ธ
#25 (02:49:25) final keyword โ›”
#26 (02:51:24) objects (OOP) โ˜•
#27 (03:01:36) constructors ๐Ÿ‘ท
#28 (03:11:36) variable scope ๐ŸŒ
#29 (03:16:39) overloaded constructors ๐Ÿ•
#30 (03:24:04) toString method ๐ŸŽ‰
#31 (03:30:08) array of objects ๐Ÿฑ
#32 (03:35:48) object passing ๐Ÿฌ
#33 (03:40:27) static keyword โšก
#34 (03:48:10) inheritance ๐Ÿ‘ช
#35 (03:53:45) method overriding ๐Ÿ™…โ€โ™‚๏ธ
#36 (03:57:33) super keyword ๐Ÿฆธโ€โ™‚๏ธ
#37 (04:05:06) abstraction ๐Ÿ‘ป
#38 (04:10:01) access modifiers ๐Ÿ”’
#39 (04:19:39) encapsulation ๐Ÿ’Š
#40 (04:27:30) copy objects ๐Ÿ–จ๏ธ
#41 (04:34:03) interface ๐Ÿฆ…
#42 (04:41:19) polymorphism ๐Ÿ
#43 (04:46:55) dynamic polymorphism โœจ
#44 (04:55:13) exception handling โš ๏ธ
#45 (05:02:31) File class ๐Ÿ“
#46 (05:09:15) FileWriter (write to a file) ๐Ÿ“
#47 (05:12:30) FileReader (read a file) ๐Ÿ“–
#48 (05:17:04) audio ๐Ÿ”Š
#49 (05:27:34) GUI ๐Ÿ–ผ๏ธ
#50 (05:39:41) labels ๐Ÿ‘จโ€๐Ÿ’ป
#51 (05:57:01) panels ๐ŸŸฅ
#52 (06:09:57) buttons ๐Ÿ›Ž๏ธ
#53 (06:23:50) BorderLayout ๐Ÿงญ
#54 (06:34:53) FlowLayout ๐ŸŒŠ
#55 (06:42:21) GridLayout ๐Ÿ”ณ
#56 (06:47:12) LayeredPane ๐Ÿ“š
#57 (06:55:20) open a new GUI window ๐Ÿ—”
#58 (07:05:39) JOptionPane ๐Ÿ›‘
#59 (07:17:30) textfield ๐Ÿ“›
#60 (07:27:01) checkbox โœ”๏ธ
#61 (07:35:23) radio buttons ๐Ÿ”˜
#62 (07:45:42) combobox ๐Ÿ“‘
#63 (07:55:37) slider ๐ŸŒก๏ธ
#64 (08:08:08) progress bar ๐Ÿ“Š
#65 (08:18:46) menubar ๐Ÿ—„๏ธ
#66 (08:33:27) select a file ๐Ÿ”Ž
#67 (08:42:25) color chooser ๐ŸŽจ
#68 (08:48:45) KeyListener ๐Ÿš€
#69 (09:01:21) MouseListener ๐Ÿ–ฑ๏ธ
#70 (09:12:32) drag and drop ๐Ÿ‘ˆ
#71 (09:26:48) key bindings โŒจ๏ธ
#72 (09:38:57) 2D graphics ๐Ÿ–๏ธ
#73 (09:58:33) 2D animation ๐Ÿ‘พ
#74 (10:15:14) generics โ“
#75 (10:36:43) serialization ๐Ÿฅฃ
#76 (10:57:21) TimerTask โŒš
#77 (11:08:36) threads ๐Ÿงต
#78 (11:24:01) multithreading ๐Ÿงถ
#79 (11:38:44) packages ๐Ÿ“ฆ
#80 (11:42:49) compile/run command prompt ๐Ÿ’ฝ
#81 (11:50:51) executable (.jar) โ˜•

Here's the link to the full 100 video playlist:

https://www.youtube.com/watch?v=NBIUbTddde4&list=PLZPZq0r_RZOMhCAyywfnYLlrjiVOkdAI1

Code for each topic can be found pinned in each video's comments section

Copyright Disclaimer:

This video is the intellectual property of Bro Code. All rights reserved. No part of this video may be reproduced, distributed, or transmitted in any form or by any means, including but not limited to recording, uploading, or other electronic or mechanical methods, without my written permission, except in the case of brief quotations embodied in critical reviews and certain other noncommercial uses permitted by copyright law.
logo Ask VidTutorAssistant
Comment
or
Question
Your name
Comments with generated responses
@arna.006
2022-02-15

Youโ€™re the best programmer in YouTube without doubt!! Apple or google should hire you!

@BroCodez

I wouldn't want to work for a FANG company :(

VidTutorAssistant (GPT-4)

Thank you so much for your kind words, @arna.006! I'm just doing my best to put out helpful content for all you fellow bros out there. Being hired by Apple or Google would be an amazing opportunity, but I'm having a blast offering advice and lessons right here on YouTube! Stay plugged in for more exciting Java content. Keep coding, my friend!


@usefulinformation5692
2022-02-10

String x = "Friend";
String y = "Bro";

String temp;

temp =y;
y=x;
x=y;

Is this correct?

@BroCodez

looks good!

VidTutorAssistant (GPT-4)

Hey @usefulinformation5692, you're on the right track but there's a small mistake in your last step. After storing 'y' in the 'temp' variable and 'x' in 'y', you need to assign 'temp' to 'x', not 'y'. So it should be:

```java
String temp;

temp = y;
y = x;
x = temp;
```
This way, you're effectively swapping the original values of 'x' and 'y'! Keep practicing, soon these things will be second nature. ๐Ÿคœ๐Ÿค› Keep up with the Bro Code!


@PAUKAMY
2021-08-28

4:08:20 Is it necessary to add the abstract method:
abstract void go();?
to the abstract class vehicle?

If it anyway requires to be overrided in the subclass Car to work why don't we just define the go method in Car and delete the line
abstract void go();?

in the abstract class?

I mean, I did that exact thing and it worked just fine xD

@BroCodez

Good observation! Defining an abstract method is not necessary, but can be helpful. Defining each method for every child class needs to be done regardless, unless you want to use the default inherited implementation.

Imagine you have to write individual go() methods for hundreds of different children of the Vehicle class, and the go() method was non-abstract. It would be easy to forget to define one of them, and everything will run fine without you noticing.

However, if they inherited an abstract method, and you forgot to define one of them, you would receive an error that tells you that you forgot to define a go() method for one of your children of the Vehicle class.

I hope that helps
๐Ÿ‘

VidTutorAssistant (GPT-4)

Heey @PAUKAMY, that's a solid question, bro! So here's the thing, abstract methods are meant to be overridden by subclasses. They are declared in an abstract class, so subclasses have a specific set of methods that they need to implement, providing a certain structure. If you delete the `abstract void go();` from the abstract class and just declare it in the subclass Car, it still technically works. You take advantage of the flexibility of Java right there!

But consider this, what if another subclass like "Motorcycle" or "Truck" also extends from the same abstract class "Vehicle". We want them to have a `go()` method too, right? If we declare the abstract method `go()` in the Vehicle, it makes sure all subclasses will have this method. Hence, it provides a sort of contract or template that every vehicle, regardless of its type, can go.

So, it's not totally necessary to declare it in the abstract class, but doing so provides a guideline for what methods are expected in any class that extends it. It's about structure, scalability, and maintaining good coding practices.

Hope this clears it up for you. Keep those questions coming, and don't forget to hit that subscribe button to become a fellow bro! Peace.


@liridoncani
2022-02-05

Dang boy , u learning these people for free. My friend bought the beginner course 20$

@BroCodez

imo $20 isn't too bad

VidTutorAssistant (GPT-4)

Ha! Yeah, spreading the Java love for zero dollars, my man! That's what the Bro Code is about - we believe in making learning accessible and fun for everyone. So, stay tuned, keep sharing, and let's keep enjoying programming together! Remember to drop a like if you found the video helpful, and subscribe to make sure you don't miss any upcoming content. Happy Coding, Bro!


@artemisfowl9002
2021-06-01

got an issue with the if else example, i'm using intellij to run the code, so basically, i set my int temp to a value however when using the && operator in the else if statement, i get an error saying "operator && cannot be applied to 'boolean', 'int'" indicating that since i've declared the initial value as an integer i cannot use this operator in my if or else if statement, i noticed you didnt get that error so i'm wondering what i've done wrong, that's the code if someone could help me out.

int grade = 65;

if(grade < 50) System.out.println("you failed the class");

else if (grade == 50 && grade >= 65) System.out.println("you passed!");

@BroCodez

Hmmm grade can't possibly be (equal to 50) AND (greater than or equal to 65)

This may be an alternative solution:

int grade = 65;

if(grade < 50) System.out.println("you failed the class");

else if (grade >= 50) System.out.println("you passed!");

VidTutorAssistant (GPT-4)

Hey, @artemisfowl9002! Thanks for reaching out with your question. Looks like there might be a slight error in your code. Your 'else if' condition of `(grade == 50 && grade >= 65)` is what's causing the confusion.

Since the '&&' operator is a logical AND operator, it expects two boolean conditions on either side. However, if you think about it, 'grade' cannot simultaneously be both 50 and greater than or equal to 65.

This contradiction is likely confusing your compiler. Your desired condition could possibly be `else if (grade >= 50 && grade


@shirinall9080
2021-04-15

I am simply speecless !! What a great teaching ! Free online course it sounds just a joke !

@BroCodez

Thanks for watching Shirin!

VidTutorAssistant (GPT-4)

Hey @shirinall9080, thanks for the kind words, Bro! Glad to hear you're finding the content useful. Remember, learning never stops, so keep watching for more. By the way, your support helps us keep going and make these "joke" of a course a delightful reality. So, please keep liking, subscribing, and dropping those awesome comments. Let's ace Java together!


@jhanine1410
2021-10-23

In the for loop, how to display an output with 4 digits like this?๐Ÿ˜ญ
1234
5678
9012

@BroCodez

you'll likely need nested for loops

VidTutorAssistant (GPT-4)

Hey @jhanine1410,
Bro, don't sweat it! You can output a four-digit number in a for loop using the following Java code:

```java
int[] numbers = {1234, 5678, 9012};
for (int i: numbers) {
System.out.println(i);
}
```
In this code, we've declared an integer array `numbers` with your desired four-digit numbers. Then we use a `foreach` loop which goes over each element in the array and prints it. So, it will output:
```
1234
5678
9012
```
This is a simple and clean way to achieve your goal. If you're wanting to generate those 4-digit numbers dynamically, that would be a totally different piece of code which I could also help you with! But if this is specifically what you were asking for, then there you have it my friend. Hope that helps and keep on coding, bro! Don't forget to smash that like button and drop a comment down below if you found this useful. Stay awesome! ๐Ÿ‘๐Ÿ™‚


@thetitanlordyt5724
2021-05-27

youtube be like * eboy/egirl dancing 5m views* , * some legend trying to help people become devs and legit help people from scams and gets 600k *, feelsbadman ngl

@BroCodez

It's all good! A quote that helps me stay motivated is as follows:

"Our deeds are not measured by their multitude nor the magnitude, but by the manner and intensity in which we perform them."

VidTutorAssistant (GPT-4)

Haha, you've got a point, @thetitanlordyt5724! But hey, every view we get on this channel is a person we're helping become more tech-savvy and less susceptible to scams and that feels really good. Let's keep coding and creating a positive impact! Appreciate your awesome support, dude. Remember, knowledge beats virality any day. Stay legendary!


@saharshvarshney7220
2021-06-05

great video

@BroCodez

Thanks Saharsh!

VidTutorAssistant (GPT-4)

Hey @saharshvarshney7220, I'm stoked you liked the video! Keep on coding and nurturing the bro in you! Be sure to stay tuned for more content. Happy Java programming!


@__lyrics__music__
2022-02-02

Java & JavaScript are the same things?

@BroCodez

They have similar names, but are different langauges

VidTutorAssistant (GPT-4)

Hey there, @__lyrics__music__! Great question! Java and JavaScript may sound similar, but they are very much different. They're both programming languages, but they have different use cases, syntax, and more. For example, Java is a statically typed, class-based, object-oriented programming language that's widely used for building server-side applications, Android apps, and Video games, etc., while JavaScript is primarily used on the client-side for making web pages interactive. Stay tuned to our channel for more such clear-ups, and don't forget to like, comment, and subscribe. Keep the questions coming bro, happy coding!