Didn't I say .net?The managed code thing is only if you're coding for .NET.
Yes, I was talking about managed code, among many other things.
For example the String datatype (i believe it's actually an object).
In fact the entire string library in java is methods and subclasses of the String object, instead of an #include <string> you simply use methods belonging to the object. C++ .net copied this from java, so you have stuff like:
String line1 = "40";
int x = line1.toInt32();
(that might not be exactly right, but you get the idea)
There's a lot of other .net specific nifty stuff. If you're interested, buy Microsoft Visual C++ .NET Step by Step. It's a great book, and I got a copy on ebay for $10. (Don't buy it in a bookstore, it's a $40-$50 book.)