Array of Objects Java Tutorial #73
Вставка
- Опубліковано 9 чер 2024
- $1,000 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE. See if you qualify for the JOB GUARANTEE! 👉 bit.ly/3HX970h
In this array of objects java tutorial, I show you that putting objects into an array is just like any other variable type into an array! We just put the names of each object into the array.
Full Java Tutorial For Beginners Playlist: • Full Java Course by Al...
Free Tips: bit.ly/3U6HXcb
Disclosure: The Springboard link provided is linked to my affiliate account & supports the channel.
I hope you enjoyed this array of objects java tutorial!
~
Alex Lee
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
5 minutes here = 5 weeks in college God bless you alex !!
this guy is basically an angel sent down from programming heaven by the ancient gods to guide amateurs towards becoming a programmer.
I remember when I was so confused with that when I started out. Awesome that you help others! keep it going :)
I found this channel because my compsci teacher showed a couple of your videos in class. I started exploring your other videos and I watched the one you did about direction in life. I’m so glad I discovered such a kind and thoughtful person. Wish you the best in life bro.
You explained it way more clearly and quicker than my prof. did, and I finally get it! Thanks a lot! :D
thanks for the great tutorial. I am currently reviewing for my midterm and these tutorials have been a huge help. Again, thank you so much!
Congrats on your very first house! Hope you love it :)
Thanks Alex!
Got my first job!
u r a great teacher man. Keep it up!
you explain so well thank you::
Another playlist watched, many more concepts understood! You are an absolute lifesaver Alex!! Thank you ❤️
Thank you Alex!
Finished the playlist, it was great.
Just completed java basics 1 and 2 . From tomorrow will start the intermediate and then programs for practice . Till now it has been an amazing experience - Thank you Alex . Love from India.
This man makes it so easy to understand 🙏🏾
You're a great teacher mate. Thanks for the tutorials.
You are the only reason I'm passing, thank you
Oh man, you're a life-saver, I was actually looking for this example.
I just got a new job after grad and I am very excited and nervous at the same time. After watching your basics java 1 + 2 I now feel more confident then I have been in the 6 years in school. Thanks for the great videos!
I wanted this previously 😭😭😭 been watching your videos from the beginning of this year
Thanks a lot will practice
Dude, I don't know what I would have done without you or these tutorials. Thank you so much bro! I really appreciate your hard work and simple explanations!
Oh wow, I actually understand, thank you Alex!
I am new to programming. This helps. Thank you
Wow! That was so layman!! I've subscribed!
I glad you to have this video, because I don't got understand this lesson
Waiting for your new video eagerly, please don't stop!
Omg
What's that keyboard?
Sounds satisfying.❤️
same I need to know that, the one that I have sound like a toy
Alex Lee, can you plz make a tutorial on java game development because all the videos I have seen are not good...... plz make a java game tutorial series. Great video anyways
Keep up the good work!
Thank you
YES!!! it would really be a fun experience!
Hey bro thank you so much to make us understand in easy way thanks from India👍
The best CS youtuber!
Hey Alex thanks for the tutorial but I missed when you used to put the source code in the description it really helps me go through each step so that I can impiment what I learned into other programs. Thanks again for such a great tutorial
Thank you so much for continuing to make these videos! My CS teacher goes way over my head, and you are able to break it down in a way I can understand and apply to my work.
thanksss alex for such great videos
Thanks for the great videos
Hey Alex, I really like your tutorial videos because you explain very clear and easy to understand. Recently, I'm struggling of develop a Courier Service System. If you could make a tutorial video, it would very helpful. Thank you and hope you get 200k subscribers soon 😄
Could you do a video on Sorting in Java? I am having trouble understanding it for class and could not find one that you had previously done. Your videos have helped me so much with my classes so far! Thank you!
Thanks for this video :)
great work
can we make a it like the user input the objects like a int array ??
Alex thank you for your tutorials!! I'm curious have you ever tried using Intellij IDE?
Great video bro
cool! thanks 👍
Thanks
Hello Alex! Could you do a video on composition/aggregation/inheritance please?
is there a way to make a module that creates x amount of objects and names them for you?
Very cool!
thank you
Thanks, even my monkey brain can understand this. I'm definetly going to binge all your tutorials a few times!
Hello Alex, I have just started to watch your videos, I also skimmed ahead to see if the pace and quality stayed throughout. So far I like it. If it is OK, I would like to put a link directing people on my FB page back to your videos page if they are also interested in Java. If not PLEASE let me know. I will do this in about 1 week from now. Thank you.
так просто, что даже новичку понятно, спасибо!
is it possible to access and change private instance of class via getter without setter?
Please sir finish this series as soon as possible.
can u please tell what plugins should i install on my netbeans ide 8.2 for easy programming
Hello, your examples helps me a lot to understand java, however there is something i don't know of. What method should i use to check wheather two files is located in the same folder?
thanks
You should make JavaFX video, or Java Scene builder, tic tac toe with javaFX or gui
I am a beginner and have been looking for tutorials. Yours is the clearest so far. Could you please do the rock paper scissors? I kinda start to feel JAVA is not for me!
Which keyboard do you use?
How do you clear or empy one of the array within the object?
Do u have tutorials on Spring framework?
Whats your keyboard?
I'm trying so hard from 1 month to find out!
Nice video, thanks lot.
I got question, why do you string type="spider monkey" and you never use it?
Thanks for your time
for (Monkey m : monkeys) { System.out.println(m.type); }
@@shanesreal oh, ok thanks lots
2:49 Could you teach me how to do that Array, @Alex Lee?
From notification squad
I which software Di you run pyothen
nice
Thanks for the great Job a d Congrats on your house
Can you please do a series on DS & Algorithms
Hey i m following the playlists so mentioned this is basic or intermediate
How do you make your own exception?
Hi Alex, I've started my journey with Java, but there is topic which is not solved for me.
How to write proper unit tests for example for void methods, or when we need to write Unit test...
Can you show examples in upcoming videos - How to use JUnit or EasyMock, what is what and when use it?
i’m taking java 2 never seen that way of declaring classes before, in terms of having the public static void main inside of main class and then saying public static void in the monkey class instead of on the same line you declared the monkey class on. i’ll have to ask my professor about this.
Hi sir, how to draw the array of objects example the array of points in java. please help me❤
What I don't understand about objects and arrays is why do we need the obj[] THEN the name of the array? So it starts off obj[] myobjectarray/// or Monkey [] monkeys, why do we need the FIRST Monkey[]? What does that represent?
It represents the data type of the variable.
Java is a statically typed language, which means you first need to explicitly specify the data type of a variable when declaring it (this is done so that the variable types are known at compile time rather than runtime).
In this case, the type of the variable "monkeys" is an array containing Monkey objects, which is denoted by the typing the type of the objects (Monkey), followed by an opening and closing square bracket.
Alternatively, you can type the brackets after the variable name, so it would be:
"Monkey monkeys[] = {m1, m2, m3}"
In this video you put a class and in a video I watched from yours about two years ago you didn't have a class. I am just wondering is it necessary or when do you need to put a class?
Heyy great explanation... but can you plss make a video on how to add binary numbers in java
this.d = Integer.parseInt(date.split("/")[0]); can u explain this plz
I love you from Turkey
Can you do a Simple Inventory java program with jframe😁 i just want to learn thank you
please Bro Make a video on Arraylists
Sir how to use string length in java?? please
Cool
Do you use java 8 or 11 in your tutorials ? I use java 11
One quetion can U make Array in Anonymous Object?
Nice explanation. Only thing I was missing is why would I use this? Some real world examples would be nice.
Overview of data and a better abstraction of the real world.
For example a school is made out of rooms, teachers and studends. Rooms, Teachers and Studends could be arrays.
int i = 0;
for(Studends s : studentlist){
if s.name = Thomas { i++ }
}
Sys.out(i);
Result: See how many students you have with the first name "Thomas"
why is Monkey a Datatype?
Hi bro... Am arun from india
.. Am 2nd year cs clg student i have a doubt in debug a progrm in eclipse... I set the brak point i try run in debug mode.. I will run. But, i dont know how check that " how the values are work "..
If you make the vedio about eclipse debugging it very usefull for us.!!!
Thank you bro..
Thank you so much for this! Do you have a course for APCS A by any chance? Also what editing software do you use?
APCSA is too ez don’t worry abt it
Looks like he's using Eclipse
@@ritvikkarra1916 No I mean like video editing software lol. I wanna get into editing too. No idea where to start tho.
Very nicely explained!
But wouldnt it be better for the sake of simplicity to use an ArrayList? That way you wouldnt need to add every monkey manually to the array (If I remember correctly)
Won't you need to add every monkey to an ArrayList instead?
@@hushinterlocutor7021 No, that can be automated in the monkey class
@@technofreak39 err... Like how? Sorry, I just don't get the idea.
One way is you could create a static ArrayList of monkeys in the monkey class and then in the Monkey constructor you do arrayList.add(this); so everytime a new Monkey is created, it automatically gets added to that arrayList and then when you want to access this arrayList you could just do Monkey.arrayList. But I find this more complicated and I dont even think its a good idea to use it like this.
Spider monkey from Ben 10 alien force😂
Here
because ofme u earn money on yt
It's very difficult and I was so scared of it I mostly cheated in it's exam 😥 I'm spilling the secrets 😁😅😅
Music is distracting but good video
Why is there less than 1000 likes in a video with almost 12000 views?
Your'e a godsend! I have an exam tomorrow and your clear explanations have helped me tremendously!
System.out.printf("Thanks!!!");
hi
☕☕☕☕☕☕
Me waiting for him to say the line : .....
Does this mean we can finally reject humanity and return Monkey; ?
sell ur course on udemy bro :)
5th comment let's gooooooooooooo