Enum | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

Enum

is enum only innerclass or it can be class too?

14th Jul 2017, 11:36 AM
Giorgi Gogelashvili
Giorgi Gogelashvili - avatar
18 ответов
+ 4
I usually define it as stand alone file inside the package. By the way, It's not a class.
14th Jul 2017, 6:40 PM
Claudiu Stefan Haidu
Claudiu Stefan Haidu - avatar
+ 1
An enum can be declared in the same file as another class, but can also be declared in it's own file.
14th Jul 2017, 7:13 PM
marit vandijk
0
konkretulad ra ver gaige?
19th Jul 2017, 10:10 AM
Giorgi Gogelashvili
Giorgi Gogelashvili - avatar
0
rogor mushaobs eg gainteresebs?
19th Jul 2017, 10:11 AM
Giorgi Gogelashvili
Giorgi Gogelashvili - avatar
0
xo eg mainteresebs
19th Jul 2017, 10:13 AM
buh bruh
0
anu ras nishnavs rogor mushaobs ravi tu shegidzlia ro amixsna
19th Jul 2017, 10:14 AM
buh bruh
0
ai vtqvat weria int x = 4; mere qvevit weria ++x an x++ an --x da ver gavige ras nishnavs eseni miemateba gamoakldeba tu ra...
19th Jul 2017, 10:21 AM
buh bruh
0
ai vtqvat weria int x = 4; mere qvevit weria ++x an x++ an --x da ver gavige ras nishnavs eseni miemateba gamoakldeba tu ra...
19th Jul 2017, 10:22 AM
buh bruh
0
tavidan kargad mivdiodi mara mere inglisuri roa mainc gadznelda da exla gavcherdi...for loopze var gacherebuli...
19th Jul 2017, 10:43 AM
buh bruh
0
int x = 4 mere weria ++x x xdeba 5 --x 3 xdeba
19th Jul 2017, 11:02 AM
Giorgi Gogelashvili
Giorgi Gogelashvili - avatar
0
magram tu pliusi da minusi x is mere weria mashin sxvanairad aris
19th Jul 2017, 11:03 AM
Giorgi Gogelashvili
Giorgi Gogelashvili - avatar
0
int x = 4 int y = x++ am shemtxvevashi x 5 xdeba magram y ki 4 radgan jer xs utanabrdeba y rodesac x 4 ia xolo shemdeg izrdeba x da xdeba 5
19th Jul 2017, 11:04 AM
Giorgi Gogelashvili
Giorgi Gogelashvili - avatar
0
tavidan ro daviwye mec gamichirda es tema shemdeg amixsnes da gavige kargad
19th Jul 2017, 11:05 AM
Giorgi Gogelashvili
Giorgi Gogelashvili - avatar
0
marto aqedan iswavle java?
19th Jul 2017, 11:05 AM
buh bruh
0
gavige madloba gachedili viyavi yvelgan egeni mxvdeboda
19th Jul 2017, 11:07 AM
buh bruh
0
tavidan awedan daviwye mere sxvaze gadavedi aq ro davamtavre aseve codeacademy.com zec shegidzlia iswavlo
19th Jul 2017, 11:08 AM
Giorgi Gogelashvili
Giorgi Gogelashvili - avatar