The current lesson provides a great overview of objects and classes if you are a beginner on the topic. With it, you will make your first steps in the world of Object-Oriented Programming (OOP), which is one of the most widely-used programming paradigms in modern programming.
By the end of the lesson, you will be familiar with the objects and classes work and their purpose. You will also know the different parts of a class – methods, constructors, getters and setters, fields, etc.
You will find many helpful examples and exercises, so make sure to practice what you’ve learned!
As always, we advise you to pause the video right before the solving part of each problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video.
*The exercise descriptions are to be found in the PDF document at the end of this post.
3. Built-In Classes
4. Defining Simple Classes
Watch the video and solve the problems. To better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.
Submit your code in the SoftUni Judge System: