Showing posts with label static initialization block. Show all posts
Showing posts with label static initialization block. Show all posts

Thursday, December 05, 2013

Java Application without a main method

Can you write a java program which does not have main but it should be executable with out any errors and exception?

Think for a while before read this post....


Yes, You can write a runnable java program which does not have main method at all. This can be done using the static block of the class.

Understanding Essential DNS Record Types for Web Administrators

  Understanding Essential DNS Record Types for Web Administrators Introduction The Domain Name System (DNS) acts as the backbone of the inte...