hi,
I'm having two class class A and Class B.
Class A is static and in class B i'm trying to invoke the method of class A.
I'm getting following error.
java.lang.IllegalAccessException: Class com.infy.cis.fiservices.B can not access a member of class com.infy.cis.srmbo.A with modifiers "private"
But all the methods in class A and Class B are public only.
Note : In My class A default constuctor is private.
could you please help me one this issue.
with regards,
Viswanathan Ramasamy.
I'm having two class class A and Class B.
Class A is static and in class B i'm trying to invoke the method of class A.
I'm getting following error.
java.lang.IllegalAccessException: Class com.infy.cis.fiservices.B can not access a member of class com.infy.cis.srmbo.A with modifiers "private"
But all the methods in class A and Class B are public only.
Note : In My class A default constuctor is private.
could you please help me one this issue.
with regards,
Viswanathan Ramasamy.