I was a Computer Science major and used a macbook pro for the last 3 years of college. It was actually more compatible for classes than a Windows computer would have been because most of the programs we had to write were Unix or Java-based. It was nice to be able to run the programs on my local computer rather than having to always connect remotely to their Unix server.
For one class, I ran Windows in VirtualBox (a free alternative to Parallels or VMWare Fusion) so that I could do an ASP.NET website, and it worked great.
The nice thing about Macs is that you can always run Windows when you need to.
Integrated graphics will be just fine; I am running the integrated graphics on my MBP with an external monitor and it works great.
You absolutely want as much RAM as you can get, particularly if you are doing VirtualBox. Do not get anything less than 4GB, since some of it will need to be dedicated to VirtualBox. My MBP has 4GB, and it is fine unless I am running VirtualBox and Netbeans at the same time (but I probably allocated a little too much RAM to VirtualBox).