If bootstrap.xml and application.yml exist, which one will overwrite which in spring boot

I personally feel that application.yml will override bootstrap.yml file. But I want to be sure. Can anyone give a proper answer.