@KronoOutLaw

This prints 30 30 40 bcz the variable "30" has its own value to not add but join in the number and the numbers before that (10+20) will be added but after that not with 30 and (30+40) can't happen bcz as 30 is a printable variable
As a 13 yo ik this much tysm if i get the pin

@hamzachan4121

I tested it rn it returns 303040

@DebarshiGhosh64

Because 30 in the middle is treated as string

@dimapetrishko9401

I'm about 90% sure it would just return an error, seeing as there are integers and integers. From my understanding the normal number would need to be converted to some form of a strong before anything would be dosplyed

@moneysingh7692

So java is afterall javascript under the hood. Knew it.

@toughasdough

30% past 30% present 40% future. 

Youre welcome

@mohdanfaz1662

30 30 40

@samurai_FF1714

Guys, this is java. In java, when a number is concatenated to string the entire thing becomes a string.
System.out.println(10+30+"30"+40);
will result in 10203040. As an experienced java programmer. I can confirm this