Java uses an object-oriented programming (OOP) paradigm that is class-based. JavaScript uses an OOP paradigm that is prototype-based.