Does a 318 and a 340 have any common parts?

Same with some parts for the 360 also. My 318 has a 340 forged crank and 360 J heads.