Ask yourself, a child spends something like four years in a country, he goes to school in a muslim country...and he wouldn’t learn to speak both Indonesian and arabic?
OF COURSE HE WOULD!
And it’s quite easy for very young children to learn languages.