I was wondering whether its possible in java to evaluate multiple variables together in if-else condition like in python.

actual code

if(abc!=null && xyz!=null)
{//...}

dummy code

if(abc && xyz !=null)
{// will it be possible}
Edit
Report