This video walks through designing a "Car" class using Eclipse menu shortcuts to help us write the constructor, getter & setter methods, and the toString method for our class. While you should know how to write these, doing so for every class you write is a pain, so make use of Eclipse shortcuts to free your brain to do the more interesting design work.
0:18 - Overview of our Car class design
0:46 - Creating the class file in Eclipse
0:58 - Defining the class fields
1:48 - Using Eclipse's constructor generator
2:25 - A note about the "this" reference
3:45 - Generating getters & setters with Eclipse
5:04 - Adding the methods (unfortunately, Eclipse doesn't do this for us!)
6:38 - Generating the toString method with Eclipse
In questa pagina del sito puoi guardare il video online A Java "Car" Class: Using Eclipse Shortcuts to Help Write Code for Your Java Classes della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Logic Lambda 04 aprile 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 280 volte e gli è piaciuto 3 spettatori. Buona visione!