Тёмный

Java Tutorial for Beginners - 24 - Differences between a constructor and a method 

EJ Media
Подписаться 170 тыс.
Просмотров 44 тыс.
50% 1

Опубликовано:

 

30 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 42   
@aysunrhn1
@aysunrhn1 10 лет назад
I'm pretty sure this is one of the best explanations I've ever watched, thank you!
@EJMedia1
@EJMedia1 10 лет назад
DanceToThisBeat1 Thanks ... felt it was important to make a video on that topic since constructors are critical
@omgpotato4969
@omgpotato4969 7 лет назад
I love your tutorials you are better than any websites that claim to teach you the best you have clear speaking. I love your way speaking like Im a 5 year old kid .
@jezzawall6770
@jezzawall6770 5 лет назад
Absolutely fantastic, there is nothing about this video that I can criticise. Brilliantly paced, very clear and concise and goes over everything in meticulous detail. There is an art to being able to explain things this well, guess that makes you an artist!
@snowchang3806
@snowchang3806 6 лет назад
Thank you for your tutorials.I have learned your CSS, HTML, Javascript and jQuery tutorials.Now I am learning Java.
@ningqi342
@ningqi342 2 года назад
This helped me so much on understanding somthing that really confused me!! Thank you!
@Phirkeee
@Phirkeee 6 лет назад
Wow ... never commented on any tutorial video but your video forced me ... precise and easy to learn... keep it up guy..
@himanshu99871
@himanshu99871 6 лет назад
Until now, methods and constructors were all jumbled up in my brain.
@TheLionheartCenter
@TheLionheartCenter 5 лет назад
This is the most helpful explanation showing the differences
@dominicbarnes712
@dominicbarnes712 2 года назад
Excellent video. Much better-explained than other similar videos on the topic
@physicsimpossible73
@physicsimpossible73 10 лет назад
Thank you so much! I now finally understand this! Can't believe I am the only viewer of this video! You need way more views!!!
@EJMedia1
@EJMedia1 10 лет назад
Thanks and I have no idea why no one has a real good video on that subject.
@EJMedia1
@EJMedia1 10 лет назад
I will have the videos on static back up in a few days - just wanted to tweak them for maximum understanding
@gonzalo4658
@gonzalo4658 5 лет назад
@@EJMedia1 neither do I.
@aspaliwal
@aspaliwal 4 года назад
best explanation of the topic man.........you are goooooooood.
@LifeSuxTR
@LifeSuxTR 7 лет назад
Best java tutorials.waiting for more and more :))
@priyanaik6669
@priyanaik6669 4 года назад
Superb explanation sir
@zerogravity1119
@zerogravity1119 9 лет назад
great tutorial thank u
@87jacs
@87jacs 2 года назад
SOOOOOO HELPFUL!! THANK YOU!
@ruthvikls
@ruthvikls 3 года назад
OMG you are a GEM!
@prajwalkr6737
@prajwalkr6737 5 лет назад
awesome explanation 👌👌
@DS-Pakaemon
@DS-Pakaemon 9 лет назад
WOAHH!!! That was amazing tutorial!! Keep them coming !! SUPER AWESOME !!!!! man!! am following u !!!
@EJMedia1
@EJMedia1 9 лет назад
Debangsu Sarkar Thank you sir
@anshuraj9606
@anshuraj9606 7 лет назад
your videos are awesome..I have one wish..and a question..can I make a java game or something else creative after watching ur whole java tutorials. ?.if yes..please make a series of video..for java game..
@lctechnologies9393
@lctechnologies9393 4 года назад
Bro wait I still don't get it. So if line 6 is the constructor and lines 7-11 are the initial setup code. What is going on with line 23? Is line 23 the same constructor as line 6?
@Brother_mar
@Brother_mar 6 лет назад
YOU are LIT , GREAT VIDEOS!!!
@pallagijozsef9141
@pallagijozsef9141 7 лет назад
this is very good
@briannadeg
@briannadeg 10 лет назад
Why can't constructors be static? What can be accessed from the memory? Just variables and methods then?
@EJMedia1
@EJMedia1 10 лет назад
Briannadeg Yes just variables and methods ... constructors are really used to build the object with the new keyword. Static is never part of an object they exist outside of the object in its own memory that is actually shared. It is the class loader that actually scans for anything with the keyword static and then loads it into shared memory - then all objects can access that shared memory where the static variable or methods reside.
@briannadeg
@briannadeg 10 лет назад
Ohhhh thank you! So basically objects can access static methods and variables. Thank you!
@EJMedia1
@EJMedia1 10 лет назад
Briannadeg Ya think of a class - you create 40 objects from it or 40 instances of that class - they can all access the same static variables because the static is always out there and in shared memory and of course statics are not part of the object - and therefore only one copy of the static variable or method has to be loaded
@christianalmli9085
@christianalmli9085 7 лет назад
Really, I'm the only douchebag who had to pause the vid and explain how Pluto isn't a planet? I'm an ass. Lemme redeem myself by saying just how incredibly useful and non Indian your videos are. You are much appreciated.
@shrouqanbar107
@shrouqanbar107 10 лет назад
awesome ^^
@TheLionheartCenter
@TheLionheartCenter 5 лет назад
Thank you!!!!
@shaned3362
@shaned3362 9 лет назад
how did you run that without a main method?
@EJMedia1
@EJMedia1 9 лет назад
Shane D At a minimum you can just create a object to kick everything off in the main - which I did with the new keyword but its not necessary to put any more code there - in fact most programmers will do just that - create an object and that kicks everything else off outside the main. There are some programmers though that prefer to put everything in the main line by line - its really preference how you prefer to do things
@jameswhyte1340
@jameswhyte1340 8 лет назад
+EJ Media Thanks for the vids! Why is the main method a thing if we can use an object to start everything?
@islestar
@islestar 8 лет назад
+James Whyte You still need an entry point.
@EJD339
@EJD339 3 года назад
lol. Clearly over the years I'm not the only one who was confused.
@EJMedia1
@EJMedia1 3 года назад
I remember I had to really plan on how to explain this topic
@9MAS91
@9MAS91 7 лет назад
Thanks god
@ChrisMaxPower
@ChrisMaxPower 6 лет назад
very helpful, thank you
Далее
СОБАКА И ТРИ ТАБАЛАПКИ😱#shorts
00:24
Когда Долго В Рейсе)))
00:16
Просмотров 158 тыс.
Java methods 📞
11:05
Просмотров 142 тыс.
Learn Java in 14 Minutes (seriously)
14:00
Просмотров 4,8 млн
P18 - Constructors in Java | Core Java |
13:37
Просмотров 8 тыс.
Java constructors 👷
10:37
Просмотров 189 тыс.
Java Tutorial for Beginners - 31 - Getters and Setters
12:01
Return Statement in Java #27
14:38
Просмотров 279 тыс.