Does holding weights build muscle?

Does holding weights build muscle?