How a CT system works. 1  A motorized table moves the patient (Figure 3) through a circular opening in the CT imaging system. 2  As the patient passes through the CT imaging system, a source of x rays rotates around the inside of the circular opening. A single rotation takes about 1 second.
Static blocks are mainly used for initialization of static variables of class which you can't do with the help of constructors. Here are some rules which governs functioning of static blocks:-. 1) They are called when a class is loaded into the JVM. 2) They are executed in the order which they appear in the class. 3) They are executed only once. 4) They are used as class level members only - which means you CANNOT put them inside any methods.
Now come to the main point Why main method is static in Java, there are quite a few reasons around but here are few reasons which make sense to me: 1. Since main method is static Java virtual Machine can call it without creating any instance of class which contains main method. 2.hough I understand why main is static in Java and why main is publicI didn't understand the point on making main method void in Java, Why not it could be int or boolean to return whether it ran successfully or not.