posted 19 years ago
hi
i learnt in k&b that the interface should declare public[b] to avoid the default mehod access.
the methods are implicitly public and abstract i didn't get what k&b is trying to say.
The static modifier can't be applied to class but it can apply to inner class which is top level nested class. can i know why only top-level-nested class is allowed to have static modifier.then if a class is static what about its method and variables effect on this modifier.
can i know some details about transient and volatile esp where it can and can't be used.
The final variables wont get any default values.user need to give the value explicitly that too before the constructor finishes this is what i grasped from k&B i tried but i getting error.