Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend Exam 200-710 Topic 1 Question 38 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 38
Topic #: 1
[All 200-710 Questions]

When would you use classes and when would you use namespaces?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Dona
1 months ago
D? So, I should use namespaces to solve all my programming problems, even if I'm writing 'Hello, World!'? Brilliant!
upvoted 0 times
...
Mable
2 months ago
I'm going with A too. Can't go wrong with the classic 'classes for objects, namespaces for name resolution'.
upvoted 0 times
...
Annice
2 months ago
D? Seriously? Namespaces are not always superior to classes. That answer is just ridiculous.
upvoted 0 times
Geoffrey
7 days ago
C) Use namespaces for performance-sensitive code, and classes when readability matters more
upvoted 0 times
...
Rima
8 days ago
B) Use classes for performance-sensitive code, and namespaces when readability matters more
upvoted 0 times
...
Freida
1 months ago
A) Use classes to encapsulate code and represent objects, and namespaces to avoid symbol name collisions
upvoted 0 times
...
...
Gaston
2 months ago
I'm leaning towards B. Classes for performance-sensitive code and namespaces when readability is the priority. Sounds like a reasonable approach to me.
upvoted 0 times
...
Twila
2 months ago
Option A seems the most logical choice. Classes are used for encapsulation and object representation, while namespaces help with name collision issues.
upvoted 0 times
Wade
4 days ago
I agree, classes are great for encapsulating code and representing objects.
upvoted 0 times
...
Octavio
15 days ago
A) Option A seems the most logical choice. Classes are used for encapsulation and object representation, while namespaces help with name collision issues.
upvoted 0 times
...
Wilson
1 months ago
B) Use classes for performance-sensitive code, and namespaces when readability matters more
upvoted 0 times
...
Glenna
1 months ago
A) Use classes to encapsulate code and represent objects, and namespaces to avoid symbol name collisions
upvoted 0 times
...
...
Jonelle
2 months ago
But wouldn't namespaces be better to avoid symbol name collisions?
upvoted 0 times
...
Gerald
2 months ago
I agree with Celeste, classes are great for that purpose.
upvoted 0 times
...
Celeste
2 months ago
I think I would use classes to encapsulate code and represent objects.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77