I have toy with the density of 2.o g/cm3 ,I put it into tub with water density of 2.0 g/cm3 will the toy float or sink?

the toy will float

Ebony is a dark wood that has a density of 1.2g/cm cubed and water has a density of 1.0g/cm cubed. Will a block of ebony float in water?

What are does

To determine whether the toy will float or sink in water, we need to compare the density of the toy with the density of water. An object will float if its density is less than the density of the liquid it is placed in and it will sink if its density is greater. If the densities are equal, then the object will be in a state of neutral buoyancy, meaning it will neither float nor sink.

In this case, the density of the toy is 2.0 g/cm³, which is equal to the density of water. Therefore, the toy will be in a state of neutral buoyancy. It will neither float nor sink, and it will stay suspended in the water at any depth you place it.