Using + in a java enum type
I'm fairly new to Java and I'm trying to use the + character as part of an
enum type, but the compiler is complaining about the syntax because I
believe it sees it as an operator.
I'd like to do the following:
enum mediaType{
FACEBOOK,GOOGLE+,TWITTER;
}
Any ideas?
Thanks!
No comments:
Post a Comment