What are Classes and Objects in Java?

Anir D
3 min readJan 11, 2022

Honestly, I have found this topic really tricky to wrap my head around but after a lot of reading I feel like I sort of get the idea of it and here is my way of explaining it, so here goes…

Classes are nothing but a specific variable/data type or another way to explain it is a custom template. It’s like a container that contains multiple variables within it

--

--

Anir D

Hey, my name in Anir!, I like making YouTube videos and just generally sharing content. Hope you Enjoy!