1 | Java classes and instances are distinct |
2 | A Java class has zero or more constructors |
3 | Java property inheritance follows class hierarchy |
4 | In Java, no way to add properties at run-time |
5 | All JavaScript objects are instances |
6 | JS object definition and constructor are identical |
7 | JavaScript property inheritance follows prototype chain |
8 | JavaScript properties may be added or removed at run-time |
9 | Java vs. JavaScript (cont'd) |