In my eclispe I went to File--new-->SCrapbook and gave name sample and selected a project and then pasted below code in that sample.page.
How to run this scapbook content to see the result. What is the use of scrapbook in eclpse. How to effectively use it.
System.out.println("score is " + Score);
when i ran this program as java main application got output as 8.
My question is below line not assigned back to any variable.Does not this addition lost in the air as we have not assigned back to anything like the case of STRING objects.
Also for below float and long declaration why we have give 'f' and 'l' at the end. If we do not give what happens.
float aCost = 22.50f;
long tCards =9999283888399l;
Any links resources ideas highly appreciated. Thanks in adv