there are many differences, but the most prominent are that they have different apis (aplication programing interface) and different architecture
also mobile apps tend to use less system resources and are more regulated by services like the google play store, opposed to the fairly unregulated uwp platform used by most windows machines.
import java.util.Scanner;
public class MyClass {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int y = scan.nextInt();
}
}
I hope this helps!
What if u can explain half question I can answer