What is difference between below both if condition?
if(method A() && method B())
{
}
}
if(method A() & method B())
{
}
}
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
Piyush PansuriyaRank #454 · 5.5K reputationPosted Mar 1, 2018, 12:03 AM EST
Srinivasan Amarnathan40 reputationPosted Mar 1, 2018, 12:04 AM EST
Bharathi RajaRank #1,777 · 842 reputationPosted Mar 1, 2018, 1:44 AM EST