Cork it or Screw it?

Are corks and screw caps really indicators of better quality wines anymore? What’s better for the wine?