Abdulkadir Selçukoğlu (JAVA Notlarım)
Tuesday, January 31, 2012
Enum-un Method-da Declare Edilmesi
Enum method'un icinde declare olunmaz.
public class Test{
public static void main(String args[]){
enum Animal{
DOG , CAT
}
}
}
Bu seklde bir yazilm hatalidir.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment