Today i am going to show you how to use Scrapbook page for testing a block of code for it's output before implementing it into your project .
Actually Scrapbook page use to test sample code for its output .it's a very convenient way to check code instantly.
Step-1 Go to File ---New---java project
give the name of you project , i am giving "ScrapbookTest" and click finish button
Actually Scrapbook page use to test sample code for its output .it's a very convenient way to check code instantly.
Step-1 Go to File ---New---java project
give the name of you project , i am giving "ScrapbookTest" and click finish button
Step-2 Now your java project has created select this java project and go to File ---New---others---java---Java Run/Debug---Scrapbook Page
click on this Scrapbook Page option and select the parent folder and file name and click finish.
Step-3 now you can see you file as dummy.jpage add code for example:
System.out.print("I am checking Scrapbook Page");
select this line and right click on it and select execute.
now you can see the output on the Console as the image shown below.
Thats it
please leave your valuable feedback
Happy Coding and Blogging.........
No comments:
Post a Comment