In Chemistry amphoteric means that the compound can act as both acid and base in a particular reaction.Given below are the reactions in which beryllium hydroxide acts as both - a base and an acid.
Be(OH)2 + 2HCl → BeCl2 + 2H2O
Be(OH)2 + 2NaOH → Na2BeO2 + 2H2O