Apakah java dan javascript sama

Absolutely not. They are just like car and carpet.
Enthusiastic Elk