SG Digital Interview Question

What are the diferences between black box/white box testing