does java and javascript are same code example Example: is java and javascript the same Absolutely not. They are just like car and carpet.