KwickClips Java · 39 sec · free
What becomes a class?
Short answer. A noun from the problem, like student.
What becomes a method?
An action, like finding the total.
Nouns and actions
| In problem | Becomes |
|---|---|
| student | class |
| name, marks | fields |
| find total | method |
Remember
| Nouns: classes |
| Actions: methods |
Not sure which classes your project needs? Try this trick. Nouns become classes. Their data becomes fields. Actions become methods. Nouns give classes. Actions give methods. One job per class.
This clip is from the full lesson: Build a Complete Java Project — 7 minutes, with the tables, the quick answers and the whole lesson in text.
Useful for: Programming All levels Java
More KwickClips from this lesson
What should you write before coding a project?42 sec
Why test each method immediately?37 sec
What goes at the top of your code file?42 secDisclaimer. KwickAcademy is free study material for general learning and revision. Parts of it, including the voice-over, are produced with the help of AI tools and may contain errors; if you spot one, please tell us and we will correct it. Syllabus, marks and exam details follow the latest official board publications available to us, and boards can change them at any time, so always confirm against your board's official website and your school. Using this material does not guarantee any marks or result. Board names and trademarks belong to their owners; Kwickprep is not affiliated with or endorsed by any examination board. We never ask for passwords, OTPs or ID numbers. Your progress is saved only in this browser. Full disclaimer · Privacy

