java - Int cannot be referenced -
I am trying to split two integers into two different variable variables with the same input. For example, the input will be formatted as 11 2 or 1027-11, always a place between these numbers. X and Z systems. OutprintLine ("Please Enter Value for X and Z"); // different x and jade int x = KB.NXINT (); Int [] var = XZ.split (""); I get an error that when I try to create XZ in a partitioned array, the difference can not be removed. Is there an easy way to split these variables? The method is found in the string class