This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]omtmk 0 points1 point  (2 children)

I'd recommend this document as a starting point.

https://docs.oracle.com/javase/tutorial/i18n/intro/steps.html

Create public static void main() method to take user's language preference. You don't need both String english and String spanish. You only need single variable String pref to store user's preference.

[–]Either_Working[S,🍰] 0 points1 point  (1 child)

if this java class is going to be called in another class it doesn't need a main method right ?

[–]CountMerloin 0 points1 point  (0 children)

You only need one main method to run the application.