Posts

Showing posts from September, 2014

How to print anything before execution of main method in java?

public class DemoStaticBlock { static{ System.out.println("Before Main Class Execution."); } public static void main(String args[]){ System.out.println("After Main Class Executed."); } } here static block is always execute before execution of main method. as we all know that static method is use for calling a method or code without creating its instance.

AndroidONE - First smartphone launching very soon to India

Image
First 100$ smartphone known as  ‪#‎ Google‬   ‪#‎ Android‬   ‪#‎ ONE‬   smartphone launching in India next week. Device is powered by google and build by Indian smartphone company  ‪#‎ micromax‬ . ‪#‎ Indian‬  users able to give voice commands, type messages and use almost all major mobile applications in  ‪#‎ Hindi‬ .