Ask Question
20 February, 13:46

Your company has just hired you to increase programmer productivity. You review existing program code and notice that no specific naming convention has been followed. What would you say to explain the best practices regarding naming conventions for class names?

+2
Answers (1)
  1. 20 February, 15:54
    0
    Class Names should follow the Pascal convention where the starting letter should be capital

    Explanation:

    Always use Pascal Case for class names. Try to use noun or noun phrase for class name. Use CamelCase (In this the first letter of word always in small letter and after that each word with capital letter.) for data members (private, public, protected ... instance variables) in the class and use Pascal case for member functions

    Giving Proper class names increase the readability of the code. if one developer wrote the code and other developer needs to work on that code in future, then the program/code should be in such a way that any developer can understand what it is meant for. We can achieve this by following proper naming conventions. it is one of the best practice or coding guidelines that every developer should follow. it will increase productivity and reduces complexity
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Your company has just hired you to increase programmer productivity. You review existing program code and notice that no specific naming ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers