If Java is Strongly typed then why does this code compile?

My understanding of strongly typed was that the language wouldn’t make implicit type conversions. However, this code converts the char to it’s ascii value and then uses that value.

static char x = 'j';
static int y = 7;

public static void main(String[] args){

Leave a Comment