What is a "Driver" Class in Java?

Pubblicato il: 06 aprile 2023
sul canale di: Logic Lambda
2,996
41

A "driver" class is a Java class that uses a user-defined Java class. For our purposes, we use a driver class to test that the classes we right work as expected.

0:05 - A review of our Class that we want to test
0:30 - Creating the driver class - don't forget to add main
1:12 - Instantiating some objects in
1:50 - Testing the toString method (called implicitly)
2:15 - Testing the behaviors of the objects
3:50 - Discussion about driver classes


In questa pagina del sito puoi guardare il video online What is a "Driver" Class in Java? della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Logic Lambda 06 aprile 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,996 volte e gli è piaciuto 41 spettatori. Buona visione!