Main Question or Discussion Point
If I opt for a programme eg astrophysics in a uni for masters can I also take classes and have credit for some other course eg quantum mechanics during the same ?
This is definitely true in the US. It may or may not be true in other countries. In some countries, undergraduate degrees are very rigidly structured, with little or no flexibility. I don't know whether this is also true for graduate degrees.Yes, of course.