#enum

3 messages · Page 1 of 1 (latest)

fading charm
#

how an enum can take paramter what does this mean? : public enum League {
ALL("All leagues"),
EPL("English Premier League"),
LIGA("La Liga");

private final String leagueTypeName;

League(String lTName) { leagueTypeName = lTName; }
agile arrowBOT
#

This post has been reserved for your question.

Hey @fading charm! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.