What is the output of this code | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
- 1

What is the output of this code

class rashid{ public static void main(String [ ] args){ int gassan[] ={1,2,3,44,55,66,45,23}; System.out.println(gassan[5]); } }

30th Dec 2018, 11:46 AM
Gassan ALhttali
Gassan ALhttali - avatar
4 Respuestas
0
Gassan ALhttali That's nice, but actually this is a place to post questions you don't know the answer to. If you have a programming related question or problem, you can ask here and others will try to help you.
30th Dec 2018, 12:10 PM
Anna
Anna - avatar
+ 2
- Please use relevant tags. For example "Java" would be a better tag than a couple of arbitrary numbers nobody is ever going to search for. - If you want to know the output of the code, why don't you try it in the Code Playground? https://www.sololearn.com/Discuss/1316935/welcome-to-sololearn-forum/
30th Dec 2018, 11:54 AM
Anna
Anna - avatar
+ 2
I will try my best because these are my first times for me in Sololearn THANK YOU AGAIN😊😊
30th Dec 2018, 12:13 PM
Gassan ALhttali
Gassan ALhttali - avatar
0
Hello Anna I hope you fine Thank you for your advice, but I tried to make question for the first time and I know the answer of this question without entering it into the playground
30th Dec 2018, 12:08 PM
Gassan ALhttali
Gassan ALhttali - avatar