Newbie question about ohm law

Grumpy_Mike:
It depends on what the device is. If it requires 5V at 10mA then you don't need any resistor to stop it from burning, just connect it to the 5V and it will take 10mA.

Mike you are right. I agree with your thought. Everything it depend on its requirements. Just one need ensure that what is the requirements then he could solve any problem.