They are physically interchangeable but the grind is different to match the difference in displacement. The 235 corvette engines used 261 cams for more horsepower.
You shouldn't use a used camshaft anyhow unless you use the same lifters & they stay in the same position.
George