+ 3

String in for loop for 10 times how to execute this?

Pls tell me

3rd Feb 2019, 5:34 PM
soni parth
soni parth - avatar
5 Respostas
+ 13
String s = "India" ; if(s.length() > 4){ System.out.println("Yes"); }else{ System.out.println("No") ; }
3rd Feb 2019, 6:04 PM
Sick L̲̅i̲̅n̲̅e̲̅🌡️[TheBraveCoders]
Sick L̲̅i̲̅n̲̅e̲̅🌡️[TheBraveCoders] - avatar
+ 12
soni parth You are welcome 😄
3rd Feb 2019, 6:07 PM
Sick L̲̅i̲̅n̲̅e̲̅🌡️[TheBraveCoders]
Sick L̲̅i̲̅n̲̅e̲̅🌡️[TheBraveCoders] - avatar
+ 1
Just like this Int i; For(I=0;i<10 ;i++) For string what to do?
3rd Feb 2019, 5:49 PM
soni parth
soni parth - avatar
+ 1
String ="India" ; If India is more than 4 then it will gone to else part tell me the code for this
3rd Feb 2019, 6:01 PM
soni parth
soni parth - avatar
+ 1
Thank you so much
3rd Feb 2019, 6:06 PM
soni parth
soni parth - avatar