+ 5

How to practice oops concepts in java ?

19th Jun 2019, 3:05 PM
Programmer Raja
Programmer Raja - avatar
2 ответов
+ 6
Java is a pure object oriented language, so as soon as you create and run your first Java program which necessarily contains at least one Class and Object, you would have practiced your first OOPS concept. If/when you came across your first programming bug and you realised your mistake, you would have experienced a different type of "OOPS!" concept.
21st Jun 2019, 2:13 AM
Sonic
Sonic - avatar
+ 3
Well, when I was studying OOP's contents, really, they are a lot of confused in the begin and know just the theory will not help... at least in the begin. What gonna help you very much is the practice!! One code that I like to do for study OOP is a simple "game", cos I can apply all OOP's contents, mainly the inheritance; so, I sugest you try to code a simple game too. If you wanna see an example, check this code out, I did it some time ago XD https://code.sololearn.com/cMQVCFM0Kejt/#java
19th Jun 2019, 5:35 PM
Gabriel Felix dos Santos
Gabriel Felix dos Santos - avatar