How do I get the first 5 integers in java... im stuck
I'll help you out, show me your best attempt. use this symbol ` three times to make code stuff and three more times to end it, here's a simple example: ``` public static void main(String[] args){ int bob = 3; } ```
hmmm.....hasn't what you have done assigned the integer bob a value of 3?
Yeah, I was just showing how you can use this symbol '
i cant see the symbol in your code
if you use the ``` key 3 times like I did before you type code and after you type the code, it will give it a cool format like: ``` I'm written below 3 ` and above 3 ` ``` the ` key should be near the top left corner of your keyboard.
ok...i still dont understand lol sorry
http://docs.oracle.com/javase/tutorial/java/nutsandbolts/for.html if you want to learn the for loop - it'll surely help you with your question.
this tutorial is probably better: http://www.javamex.com/tutorials/java/for_loop.shtml#.VFlcQ_nF98E
Join our real-time social learning platform and learn together with your friends!