Cisco interview question

Difference between garbage collector and daemon thread in java