short question, short answer. A solder on cap used to be the method, but required sufficient stub that would allow the cap to cut off. Not always easy to unsolder. Sharkbite fittings are easy to remove.
If this is to be a permanent cap, I would solder.
The Following User Says Thank You to Just Bill For This Useful Post: