A precast concrete box for construction of seawalls, breakwaters and other structures, which has the form of a rectangular parallelepiped, and comprises at least two separate inner compartments of substantially equal volume which can be independently flooded or blown, enclosed on all sides and comprising means for flooding same with water and for subsequently expelling said water using air pressur