Home » JAVA Programming » Java Basic » Question
  1. Which of the below is false about java coding?
    1. class constants should be used when we want to share data between class methods
    2. test case method names should be created as english sentences without spaces
    3. variable names should be such that they avoid ambiguity
    4. variable names should be short
    5. None of these
Correct Option: D

variable names like i, a, abc, etc should be avoided. They should be real world names which avoid ambiguity. Test case name should explain its significance.



Your comments will be displayed only after manual approval.