The interference of resonances and formation of so-called bound states in the continuum were considered for the examples of numerical modeling of two-and three-channel one-dimensional systems. It was shown that intrachannel resonances virtually did not interact either with each other or with resonances formed in the binding of open and closed channels. Conversely, the interference of two resonances each formed in the binding of an open and closed channel resulted in the appearance of bound states in the continuum under certain conditions. The reliability of the complex rotation method for calculating isolated resonances and resonances bound to a complex was demonstrated.