✅✅Single Line Java Solution || Beats 100% 🚀🚀
Code\n\nclass Solution {\n    public String convertToBase7(int num) {\n        return Integer.toString(num, 7);\n    }\n}\n\nPlease upvote if you like the solut
# Code\n```\nclass Solution {\n    public String convertToBase7(int num) {\n        return Integer.toString(num, 7);\n    }\n}\n```\nPlease upvote if you like the solution.\nHappy Coding! \uD83D\uDE0A
['Math', 'Java']