This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Think of it this way: An instance of a class has methods (non-static methods). A class has methods (static methods). A class has constructors (implicitly static--what would it mean for an instance to have a constructor?)
Is there any specific property for a variable defined inside Static Block.Static means when the class is loaded all the static members are called only once and initialised. So whenever we create some instance variable inside static , is there any change in property for that variable.
"Learning is a Culture where your Eagerness & Curiosity plays a major Role".
i have tried changing properties. But my Question is , Is there any difference in properties for an instance created inside a class normally and an instance created inside a Static initialiser. By meaning property , i here mean whether conceptually is there any difference between those, it's accessibility,Scope,etc. Thanks David.