reset password
Author Message
axu11
Posts: 4
Posted 12:14 Mar 17, 2020 |

For our tester class, ok for everything to tested in the main method??

dkwok
Posts: 24
Posted 12:19 Mar 17, 2020 |

Yeah, you populate your database through the main method.

Last edited by dkwok at 12:19 Mar 17, 2020.
kknaur
Posts: 540
Posted 13:23 Mar 17, 2020 |

You will need a main method to run your program, but all the code shouldn't be in main.  You should split your main class into different methods to help organize the code.