Java – OOP Basics 1/5 (Class and Object)

Don’t just learn the java language, learn to write industry standard Object Oriented code and learn practical software development! Enroll in the full course at


Rick Caldwell says:

This tutorial is awesome. I decided to learn java over a year ago, and now have “Core Java” down. I recommend taking this course on UDEMY. It is by far the best I’ve seen so far on understanding OOP and its concepts.

noorbhasha rahamtullah says:

The best Analogy to explain OOPS. Thank you

fawzi nur says:

finally got it! nice tutorial.

MuscleBoi1901 says:

so is the class the object it self?

João Monteiro says:

I’m starting learn Java but i´m a little bit lost. There is so much to learn that i don´t really know the path i should take

dilkushi anurada says:

wow what a greate vedio! so much helpful, clear voice, gonna follow all ur vedios

Tralla Tralla says:

hi i need your help , hope u can ! im a beginner and have a problem with for loop , specially the line under the for loop and cant understand why it is there, the code is :

public int countAvailable()
int free= 0;

for (int index = 0 ; index < streetboxes.length; index ++){ campingbox oneBox = streetBoxes index [ index]; if (oneBox.isBusy() == false){ free ++: } } return free; } please if u can expalin for me why campingbox oneBox = streetBoxes index [ index]; is there? i have another method with a loop but this time there is no extra line right after the loop,as you can see this time there is in the if statement .get(i) here is the code public void numerofbookauthors(string author) { int numberofbooks=0; for(int i =0; i< shelveswithbooks.size(); i ++) { if (shelveswithbooks.get(i).getauthorname().equals(author)) } numberofbooks++; rest of code bla bla ... hope you understan my question , thank you

c l says:

By far the BEST tutorials! I am about to complete college level object oriented programming (in Java), I watch many youtube tutorials, I listen to java podcasts while driving, I complete challenges on sites like codefights and hackerranker, and you have found a way to make an intuitive connection to java that I have seen others try, but not quite succeed. I am preparing for my final exam, so I am forcing myself to go back and start from the basics. I cannot believe how differently I am able to see java. THANK YOU

João Monteiro says:

Very clear. 

Faisal Akhtar says:

IT’S reAlly Good Thnks BortHER!!!!

Jayson Orense says:

hi sir. can i ask a question. hmm. if i didnt declare variable “name” in Human class as public, and accessing it to other class named earth class. by default it is public or protected? thanks for answer. sorry newbie here. 🙂 im watching it and somehow its help me to understand the OOP concept of java. thanks a lot.

Mark Sebzda says:

This is an excellent tutorial. Thank you so much!

Eternal Mist says:

Very clear and easy to understand, thanks!

De La Cosa says:

you sound exactly like Sam Harris

Justin Dequillo says:

Sir, ahmm. what is difference between declaring “public void ” and “void” in a method/behavior ? thanks a lot.

James Jennings says:

Thank you, thank you, thank you. I GET IT NOW. LOL

 Write a comment


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!