An amphoteric compound is a molecule or ion that can react with both as an acid or as a base. BeO=‌ Amphoteric ‌ BaO=‌ Basic ‌ Be(OH)2=‌ Amphoteric ‌ Sr(OH)2=‌ Basic ‌ Both beryllium compound BeO and Be(OH)2 are amphoteric in nature while compound BaO and Sr(OH)2 are basic in nature, they form alkaline solution in H2O.