Domanda di colloquio di Jash Data Sciences

Asked one program in Java to find the difference between Kilometers and that given data is in string have to convert to integer and second, is SQL query to find out the count of group of people from every country