It is mentioned above.
The Ajanta Caves were constructed in the 2nd Century AD, whereas the Ellora caves were constructed quite later between two following periods, including the Kalachuri.
the text told me
2nd bc and 6th ad
because I know the correct answer.
Bec they were built in period of BC, wheras, ellora caves were built in AD
because of method and knowledge for building
Ajanta caves were developed in tge period between 200bc to 600ad
because ajanta caves are constructed between 2nd to 6th AD and ellora caves are constructed between 6th to 10th AD century...
hence with time reference ajanta caves are older one