0

can if else be used inside a class

26th Aug 2016, 2:39 PM
Salman Mishra
Salman Mishra - avatar
9 Answers
+ 1
It can be used only inside method
26th Aug 2016, 6:06 PM
Gouda Kiran
Gouda Kiran - avatar
+ 1
you can use "if... else statements" only in methods, not in classes
30th Aug 2016, 1:36 AM
Ezekiel Oladejo
Ezekiel Oladejo - avatar
0
no
26th Aug 2016, 6:07 PM
Praveen Varshney
Praveen Varshney - avatar
0
No
27th Aug 2016, 2:00 PM
Singh Pratima
Singh Pratima - avatar
0
it can be used
29th Aug 2016, 3:20 PM
Hillar Otieno
Hillar Otieno - avatar
0
inside methods or constructor
31st Aug 2016, 1:04 PM
Sumit Kumar
Sumit Kumar - avatar
0
only in methods
13th Sep 2016, 9:04 AM
Akash Chopra
Akash Chopra - avatar
0
yes u can use if else inside a class
26th Sep 2016, 8:29 AM
Kashish Gupta
Kashish Gupta - avatar
- 2
no
26th Aug 2016, 7:09 PM
Maske Uttam Prabhakar
Maske Uttam Prabhakar - avatar