Java simple one line solution || easy-understanding
Java one line code\n# Code\n\nclass Solution {\n    public int maxProductDifference(int[] nums) {\n        Arrays.sort(nums);\n        return nums[nums.length-1
Java one line code\n# Code\n```\nclass Solution {\n    public int maxProductDifference(int[] nums) {\n        Arrays.sort(nums);\n        return nums[nums.length-1]*nums[nums.length-2]-nums[0]*nums[1];\n        \n    }\n}\n```
['Java']