You'll find that Java and C++ share a lot when it comes to syntax and structure because they are both C based languages so I think you would be fine doing both.
manaila like this