News for hackers. Stuff that matters.
Re:In Java 3 = 12 by c8g on Wednesday November 15, 2017 @02:09AM (#15701984)
that's also strange to me.

you are seeing this error because python is strong typing language.

but this is weird that java is also strong typing language[0]

0: https://en.m.wikipedia.org/wiki/Java_(programming_language)

Re:In Java 3 = 12 by Seol on Wednesday November 15, 2017 @02:48AM (#15702138)
Strong v weak typing isn't an absolute categorisation, it's a spectrum. There aren't many places Java will automatically coerce types, and the ones that do exist are narrow (numeric promotion, string concatenation, and I can't think of any others).