Please accept YouTube cookies to play this video. By accepting you will be accessing content from YouTube, a service provided by an external third party.

YouTube privacy policy

If you accept this notice, your choice will be saved and the page will refresh.

 

Show the video description

When we create a POJO (Plain Old Java Object) we also have to create constructors and getter and setter methods. Instead of doing this manually, Android Studio/IntelliJ has a handy shortcut to automatically generate this code for us.
If you want to use a custom prefix for your variables names, like the hungarian notation, you can change your settings to not include that prefix into your variable and method names.