Simple java Solution
Code


# Code
```java []
class Solution {
    public boolean isBalanced(String num) {
        int even = 0, odd = 0;
        
        for(int i=0;i<num.length();i++){
            if(i%2==0){
                even += Character.getNumericValue(num.charAt(i));
            }else{
                odd += Character.getNumericValue(num.charAt(i));
            }
        }

        if(even == odd){
            return true;
        }

        return false;
    }
}
```
['Java']