Java Constructor Tutorial - How To Use A Constructor in Java #74

Java Constructor Tutorial - How To Use A Constructor in Java #74

Alex Lee

5 лет назад

626,465 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@zstar8397
@zstar8397 - 09.02.2023 04:17

hey i just wanna say that GOD loved the world so much he sent his only begotten
son Jesus to die a brutal death for us so that we can have eternal life
and we can all accept this amazing gift this by simply believing in him (Jesus) asking for the forgiveness of your sins
and forming a relationship with your heavenly father.

Ответить
@jasonking1284
@jasonking1284 - 12.02.2023 13:26

Now this is a good tutorial. Large text and black on white color. Great....

Ответить
@BigMon.BigSteppa
@BigMon.BigSteppa - 28.02.2023 09:47

You actually just saved my grade, love the way you teach!

Ответить
@thomasmayaya8841
@thomasmayaya8841 - 02.03.2023 16:11

Most heroes where capes all you do is stand behind a camera and make life easier ❤️you're a hero

Ответить
@Filip-_-._.
@Filip-_-._. - 08.03.2023 18:54

As a default constructor you can set values to your characteristics and not just leave it empty. It's good if you want to avoid some bugs when calling methods on an object that has no values.

Ответить
@ritheshbcanvas4963
@ritheshbcanvas4963 - 19.03.2023 08:32

Pls start posting Java Tutorials

Ответить
@Emqster
@Emqster - 20.03.2023 08:46

You are single-handedly saving my grade in my Java class haha

Ответить
@wikituby
@wikituby - 01.04.2023 14:43

not for beginner

Ответить
@laythabujafar
@laythabujafar - 12.04.2023 13:14

Thank you !

Ответить
@amogha08
@amogha08 - 18.04.2023 23:46

syso+ctrl+space also works to print out

Ответить
@derroz3157
@derroz3157 - 01.05.2023 16:57

Your way of ways is ways to understand ways of ways when ways are not the ways but is ways to ways

Ответить
@awesomezebra
@awesomezebra - 26.05.2023 02:09

My instructor chose to use your videos for our class, and I see why, this was so easy to follow, thank you so much!!

Ответить
@minakshigulia8997
@minakshigulia8997 - 08.06.2023 08:09

I love to study from you....your way of teaching is really osm..........respect from INDIA

Ответить
@Apollomonkey123
@Apollomonkey123 - 08.06.2023 11:19

This video helped a lot, thanks bud!!!

Ответить
@MohammedAdeebAhmed-r2l
@MohammedAdeebAhmed-r2l - 14.06.2023 23:02

man u are awesome u explained it so well thankyou

Ответить
@KalpanaPokhrel-t3x
@KalpanaPokhrel-t3x - 15.06.2023 01:10

I love your videos sm. Thank you!

Ответить
@carolinaheredia7926
@carolinaheredia7926 - 15.06.2023 03:49

I've been stuck on this for the past week in class! thank you so much!

Ответить
@oneywisoky
@oneywisoky - 13.07.2023 00:24

great!

Ответить
@rubinconineski526
@rubinconineski526 - 13.07.2023 20:04

Super.

Ответить
@jennifernoronha1790
@jennifernoronha1790 - 16.08.2023 20:19

you are cute

Ответить
@ScatteredThoughts214
@ScatteredThoughts214 - 19.09.2023 02:15

great teaching skills. thanks a lot dude. you just got another follwer.

Ответить
@akhileshkumbar4864
@akhileshkumbar4864 - 25.09.2023 03:30

Really helpful, thanks for making this video

Ответить
@sulevanG
@sulevanG - 02.10.2023 14:34

Im finna do that sysout trick in the lab and get some b**ches

Ответить
@raulzitomm
@raulzitomm - 11.10.2023 10:29

Really good keep up the good work.

Ответить
@sakmaestro3852
@sakmaestro3852 - 14.10.2023 14:58

Sir is Java is easy to learn ,, other than programing language?

Ответить
@JonJon-vg2nv
@JonJon-vg2nv - 21.10.2023 22:17

I cannot believe this guy thought it was a good idea to blast distracting music throughout the video so it's impossible to focus on what he's saying...

Ответить
@beastinfection638
@beastinfection638 - 21.10.2023 22:17

What a wonderful video

Ответить
@tzvetozarpenkov6653
@tzvetozarpenkov6653 - 24.10.2023 07:33

Hi, what version of java do you use ?

Ответить
@kaai2
@kaai2 - 03.11.2023 07:42

boooooooo

Ответить
@muhammadhusnain5273
@muhammadhusnain5273 - 05.11.2023 00:10

kindly tell which software you use

Ответить
@hoseakibet5748
@hoseakibet5748 - 09.01.2024 14:38

Thanks , I understood.

Ответить
@ujusamv5617
@ujusamv5617 - 04.02.2024 20:11

can you make one on copy constructor please

Ответить
@aidanakamchieva4648
@aidanakamchieva4648 - 04.04.2024 23:46

This video is too good for this world🥺

Ответить
@paulhetherington3854
@paulhetherington3854 - 02.05.2024 02:57

/const frch bx || td wn eml atm ~ tmp tub/
/r2'(txcvk'') < R'' vcr skrb < ~ DD-214 int/
/const 64 pxl || txt fld par frch LN'' hlf krn' loch cntnt@ td wn eml/

Ответить
@paulhetherington3854
@paulhetherington3854 - 02.05.2024 02:58

But construct -- "ATOMIC Architecture only!" Hence; Java -- "TTY only then!"
MIT CURRICULUM -- "ATOMIC ARCHITECTURE FOR WEBSITE!" And grammar - easily - exposed already: "TTY!" And it be -- all TTY - HTML! No literal - prnt.LN -- Oriental Tribal!

Ответить
@soulexesns9522
@soulexesns9522 - 11.05.2024 17:33

thank you so much

Ответить
@Bundyburger09
@Bundyburger09 - 21.05.2024 13:49

I was following this one exactly and i could not get my setColour and set Size to work. I repeated it so many times.

Ответить
@bharathabhi2951
@bharathabhi2951 - 10.06.2024 06:25

Constructor basically creates an object - That line took off all the confusion. Thanks Alex.

Ответить
@thefeldgeister2961
@thefeldgeister2961 - 02.08.2024 16:12

You don't need to construct/instantiate a Shirt object since you're making everything static. Static means it belongs to the class, not the object created when instantiating an object from the class. For example, remove the Shirt constructor on line 5 of Main and type Shirt.putOn(); instead. You'll still have access to that method because it's static. No constructor needed. It belongs to the class.

Ответить
@n1t4r46
@n1t4r46 - 18.09.2024 00:43

❤️🐤

Ответить
@faizanahmad-e3x
@faizanahmad-e3x - 07.10.2024 21:46

Awesome java expert!..❤

Ответить
@pythonbg2457
@pythonbg2457 - 18.10.2024 11:29

Thank you! I appreciate that stranger! I was going to have F but you saved me!

Ответить
@sanan495
@sanan495 - 21.10.2024 02:31

Why Alex did not use this under constructor? What I know it had to be for example like this. this.color=newColor and etc. why he did not use this keyword ?

Ответить
@FrancisMuchenya
@FrancisMuchenya - 12.12.2024 10:51

this was amazing thasnks

Ответить
@olivezoo
@olivezoo - 17.01.2025 05:51

why do we need "static " "void"

Ответить
@stats-47
@stats-47 - 04.02.2025 06:49

been watching many of these, honestly? wayyy better than a 2 hour lecture

This format allows me to watch, follow along, and do my own little experiments & tests. This kind of learning really piques my curiosity. I'm not sure how the current education system could implement this but the current method of "2 hour powerpoints with 15 min interactions" do not work at all.

Ответить
@discipleofchrist6045
@discipleofchrist6045 - 25.02.2025 09:52

Why did you use static methods and you created an object in Main Class?

Ответить