Tips & Tricks
Here are some basic implementations of java language, which you would like to know. Have a look at the given program below. Found anything unusual?? You got it right! The program below runs without the main method. Here we have used the static block that executes the class directly as soon as it gets loaded without creating any object for it.
- Know
to capture a screen shot
Hey this is very interesting, as we take a screenshot by pushing the print screen button on the keyboard, same way we can do it through java programming. For this we need to use few methods and APIs as shown in the program below.
Now, read more at:
http://www.javajazzup.com/issue2/page33.shtml