New Problem Statement Question: Create a class named Car with two attributes: brand and year. Write a constructor that initializes these attributes using the this keyword. Create a method called showDetails() to print the car's brand and year of m...

Markdown supported · ⌘↵ to post
No responses yet.