1 Right-click this drive and select Properties. 2  Click the Tools tab. 3  In the Error-checking category, click Check now... 4  In the dialog that appears, check Automatically fix file system errors and Scan for and attempt recovery of bad sectors.. 5  Click Start.
A static variable is a special variable that you can use in a function, and it saves the data between calls, and it does not delete it between calls. For example: void func(){ static int count; // If you don't declare its value, the value automatically initializes to zero printf(%d, , count); count++; } void main(){ while(true){ func(); } }
The keyword static allows main() to be called without having to instantiate a particular instance of the class. This is necessary since main() is called by the Java interpreter before any objects are made. The keyword void simply tells the compiler that main() does not return a value.gain static method of a particular class can be accessed only by referring to the class like: Class_name.method_name(); So a class need not to be instantiated before accessing a static method. So the main() method is declared as static so that it can be accessed without creating an object of that class.