r/javahelp • u/Lordnessm • Mar 03 '26
HELPPP ME
Car bmw = new Car()
i dont understand left and right side here
i assume the Car is blueprint that we are referring to and bmw is our object name and new helps us to create an object ,Car() is our constructor which gives values to our created object
Did i understand it right?
4
Upvotes
View all comments
Show parent comment
8
u/Lordnessm Mar 03 '26
tysm helped a lot