Ok..thanks dear...
Type: Posts; User: Arnab Kundu
Ok..thanks dear...
Since dear....
My problem'sanswer is known to me...
But explanation is not clear..
Bcz every time a static field will execute immediately after the static block..here not happen...it was my...
class A{
static final int a=10;
static{
System.out.println("56");
}
}
class B{
public static void main(String []args)
{
System.out.println(A.a);