+ 10
Yes Or No
1.in c++ all if elseif else statements replaced by switch? 2.is it java support pointer or not?
8 Answers
+ 8
Thug life
No, switch case can be used as a substitute for if else cases.
https://www.sololearn.com/learn/CPlusPlus/1618/
+ 2
yes you can but I will prefer to use if elseif else when you have 3-4 cases but when you have more than 5 Case I will prefer switch because it save time.
+ 2
Java does not support pointers
+ 1
java does support pointer "this" is a pointer that we use
0
i dont know but i think not
0
in c++ you can still use elseif
not sure about java
0
in java we can also use elseif.
0
yes