ive been coding using c++/c#/php/lua and more and i dont think theres a best language as each one do the exact same job , you can use java for desktop/apps same as c# , but if ur a lazy person who want to do android/ios/windows app then u'll do it using c# instead of java/xaml/kotlin/swift and cross platform , and so far i think c++ is cool not the best