84.
Which of the following is good coding practice to determine oddity?
i)
public boolen abc(int num)
{
	return num % 2 == 1;
}

ii)
public boolean xyz(int num)
{
	return (num & 1)!= 0;
 }

85.
Which one of the following causes memory leak?

86.
Which of the following is a best practice to measure time taken by a process for execution?

87.
What one of the following is best practice to handle Null Pointer exception?
i) int noOfStudents = line.listStudents().count;
ii) int noOfStudents = getCountOfStudents(line);
public int getCountOfStudents(List line)
{
if(line != null)
    {
if(line.listOfStudents() != null)
            {
  return line.listOfStudents().size();
}
}
throw new NullPointerException("List is empty");
}

88.
Which of the below is true about java class structure?

89.
Which of the below is false about java coding?