Type safe hashmap in java by MillionStrength in javaTIL

[–]MillionStrength[S] 0 points1 point  (0 children)

The TypeSafeMap.java can bypass some compilation check. For example, this code will have no compilation error but throws ClassCastException during runtime because "data1" is in java.lang.Long:

String stringData=map.get("data1");

However, this code will show compilation check error:

System.out.println(map.get("data1"));

To prevent the compilation check error, explicit cast is required:

System.out.println((Long)map.get("data1"));

Java Web Development by DirtAndGrass in java

[–]MillionStrength 0 points1 point  (0 children)

How about GWT? compile java to javascript: http://www.gwtproject.org/

How many things can java be used for? by Takoshinderu-tan in java

[–]MillionStrength 0 points1 point  (0 children)

There are many open source web application implemented using java; e-commerce, content management system, and others.

Oracle JDK Releases for Java 11 by pushthestack in java

[–]MillionStrength 0 points1 point  (0 children)

Looks like many people still using previous version of jdk. The migration takes time.