I went for one interview, Interviewer asked me this question
What it means:
if(val1 is int val2)
Actual I know that "is" we used to check "val1" value is int type or not but what is the meaning to add val2 after this.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
tushar25 reputationPosted Dec 14, 2017, 10:06 AM EST
Tapan PatelRank #614 · 3.9K reputationPosted Dec 14, 2017, 10:40 AM EST