Hi I\'m having problem with initialization in java, following code give me compile error called : expected instanceInt = 100; but already I have declared it. If these thing
You can not have a separate statement to assign values to class members in the declaration area. You have to do this from a function, typically a class method.
For your case, consider doing the assignment as soon as you declare.