Java - Convert Integer the Sum of Two No-Zero Integers | Beats 100%
Code

# Code
```java []
class Solution {
    public int[] getNoZeroIntegers(int n) {
        for (int i = 1; i < n; i++) { 
            int b = n - i;  
            if (isNoZero(i) && isNoZero(b)) {
                return new int[] {i, b}; 
            }
        }
        return new int[] {}; 
    }

    private boolean isNoZero(int num) {
        while (num > 0) {
            if (num % 10 == 0) { 
                return false;
            }
            num /= 10;
        }
        return true;
    }
}

```
['Java']