Editor's Note: This article was originally published at 7:13 a.m. EDT on Real Money on June 18. To see Jim Cramer's latest commentary as it's published, sign up for a free trial of Real Money.NEW YORK ( Real Money) -- Can you ride out the end of bond buying? We just had a correction based on that concept, and I think the answer for most stocks is "No," not if it is going to go on for months and months, which is what I would fear. That's why I think you have to accept the fact that raising cash on days like yesterday in the groups that were hardest hit makes a ton of sense. But what acted well in the downturn? What didn't give up the ghost? Two groups: tech and banks. I recently spoke at TheStreetMonster Conference, and I emphasized these two groups for different reasons. First, the banks will roar in a situation where the Fed stops suppressing interest rates because the best money they can make is by paying the curve, giving you bad prices for your CDs while they invest at better prices. That's how Jamie Dimon says JPMorgan ( JPM) can make $2 billion more with a normalized yield curve than he does now. These stocks are classic weakness buys as people will continue to be confused about what drives bank stocks higher. They go higher on net interest margin either on their loans or their investments or both. An end to the buying will mean we are good to go as a nation for the first part of the earnings, and the banks will be coining money on the second. I would also argue that the international banks might be the best ones, because we will get a taper if Bernanke and company believe that part of the reason why it is safe to cut back is that Europe is coming back. Remember, the euro is strong, that's a sign of continental strength, which means that JPM or Citigroup ( C) or Goldman Sachs ( GS) could be very right. So, owning banks through the taper will be a good idea. Second, the dry run revealed tremendous pent-up demand for old tech. Here I am talking about disk drives, flash drives and semiconductors that have lots of cyclical growth to them. Here, again, Europe is incredibly important for tech earnings, and I do not believe we will get a taper without Europe coming back and coming back to the point where it is obvious to all.