please give some detail about Static keyword.
Static variables are class variables that are shared by all instance of class .. 1)It is a variable which belongs to the class and not to object(instance). 2)Static variables are initialized only once , at the start of the execution . These variables will be initialized first, before the initialization of any instance variables. 3)A single copy to be shared by all instances of the class. 4)A static variable can be accessed directly by the class name and doesn√Ę‚?¨‚?Ęt need any object.
Static method is the method which belongs to the class and not to the object(instance). 1)A static method can access only static data. It can not access non-static data (instance variables). 2)A static method can call only other static methods and can not call a non-static method from it. 3)A static method can be accessed directly by the class name and doesn√Ę‚?¨‚?Ęt need any object. 4)A static method cannot refer to "this" or "super" keywords in anyway.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.