Easy Java Solution
\n\n# Code\n\nclass Solution {\n    public long findTheArrayConcVal(int[] nums) {\n        long sum = 0;\n        int i = 0;\n        int j = nums.length - 1;\n
\n\n# Code\n```\nclass Solution {\n    public long findTheArrayConcVal(int[] nums) {\n        long sum = 0;\n        int i = 0;\n        int j = nums.length - 1;\n        while(i <= j)\n        {\n            String s = Long.toString(nums[i]);\n            String st = Long.toString(nums[j]);\n            s = s + st;\n            if(i == j)\n            {\n                sum += nums[i];\n            }   \n            else\n            {\n                sum = sum + Long.parseLong(s);\n                System.out.println(sum);\n            }\n            i++;\n            j--;\n        }\n        return sum;\n\n    }\n}\n```
['Java']