> Sure, but are C++ or Java really that outdated.
In what sense is either "outdated" at all?? Especially Java. Anybody who's paying attention to Java since about Java 11 would know that Java is very much a modern language at this point. I don't write much C++ myself these days so I haven't kept up with that as much, but my subjective perception is that C++ is also modernizing quickly over the last decade or so.
That was my point! Unless I missed it, those are the two most common core languages at colleges, and they're both very much alive and in use.