r/CodingHelp • • Jan 19 '20

[Java] Kindly explain the below question?

Post image
1 Upvotes

5 comments sorted by

View all comments

3

u/KaeseKuchenDEV Jan 19 '20

You need to say, if you would enter these things whetger it would throw an error or not

-1

u/thatlowkey Jan 19 '20

What could be the answer

2

u/jedwardsol Professional Coder Jan 19 '20

Put them into a compiler and see.

1

u/NamasteWager Jan 19 '20

Second this, the compiler will tell you this answer