Hi,
I am transferring a c++ code to a java code.
My problem is I am facing a type mismatch error in java.
The c++ code is : New_Addr = CodeAddr ;
Here in c++ New_Addr is char *New_Addr
and CodeAddr is char[]
but when I am transferring it into java it is showing type mismatch, cannot convert from char to char[] .
Please write the equivalent java code of the line New_Addr = CodeAddr ; in java.
I am transferring a c++ code to a java code.
My problem is I am facing a type mismatch error in java.
The c++ code is : New_Addr = CodeAddr ;
Here in c++ New_Addr is char *New_Addr
and CodeAddr is char[]
but when I am transferring it into java it is showing type mismatch, cannot convert from char to char[] .
Please write the equivalent java code of the line New_Addr = CodeAddr ; in java.
Comment