Can we have class without namespace??
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Munesh SharmaRank #174 · 13.9K reputationPosted Apr 4, 2014, 11:11 PM EDT
if you use user define class then we do not need of namespace.
VulpesRank #55 · 29.2K reputationPosted Apr 5, 2014, 3:23 AM EDT
Any classes which don't belong to a particular namespace are considered to belong to a 'global' namespace.