Pergunta de entrevista da empresa Tata Consultancy Services

What was java garbage collector . diff b/w jvm , jre, jdk , java vs js