You can find the studied reference links after[below] this article.
|Variables & Values||Statically typed language. Variables are declared with type at compile time, and can only accept values permitted for that type.
Generally,uses .equals() to compare the actual contained string value. ‘==’ compares reference value instead.
Overriding Variable value storing is rigid.Example, To assign an integer to variable , it needs an int declaration from the start, assigning string value would cause compilation error. For function parameter, this is a convenience because the input checking type value is definitely known.
Not forgiving to null pointer exception.
Possible to use ‘==’ to compare equaled string value and ‘===’ to compare strict type check as well.
Overriding variable value is flexible. Example, To assign an integer to variable , it needs an int declaration from the start, assigning string value along the way would not cause any error.For function parameter, this is a hassle because the input value checking type is not known definitely.
Forgiving to null pointer as it considers another value ‘type’.
|Variables & Hoisting||would not happened||Can happen. Suggestion: use lint checker, and use strict checking.|
|Platform independence & Result Rendering Gap||Code compiled to Bytecode Class file; makes it possible to run in any environment with same result, lower gap result in different environments.||Code compiled in browser; makes it impossilbe to run in any browser due to browser support and different render of stack browser. Gap is high in different browser stack[environment.]|
|Platform independence & Result Rendering Gap||Code compiled in JRE to Bytecode class file; makes it possible to run in any environment with same result, lower gap running code in different environment.||Code compiled in browser; makes it impossilbe to run in any browser due to browser support and different render of stack browser. Gap is high in different browser stack[environment.]|
|Constructors||Followed a specific rules like name must follow class, and no return type..||Doesn’t follow any specific rules. Generally just another function that adapt to behave like constructor.|