How do flies walk on the ceiling and walls?
they use forces of attraction called Van der Vaals forces that enable their feet to stick to most surfaces. They can only do it because of their very small mass, and the fact that they have 6 feet- each one sticks a little bit ++The hairs on their feet only help to enhance the Van der Vaals forces- they do not hook onto anything, because this would not allow them to walk on glass, which they can.