Java, Understanding Case Sensitivity in Variables

Good evening every one. Somebody please tell me what is wrong with ths:

// Declarations
var studyCapVar;
var properCamelCase;
var titleCaseOver;

// Assignments
studyCapVar = 10;
properCamelCase = “A String”;
titleCaseOver = 9000;

The studyCapVar is giving problem…somebody please suggest where the issue is, thanks

        studlyCapVar is defined and has a value of 10
     
        studlyCapVar should use camelCase in both declaration and assignment sections.

Hi, @wakimunge. You have a typo in studyCapVar . It should be studlyCapVar (notice the l).

And it’s JavaScript, not Java ;), though both have case-sensitive variables.

1 Like

Thank you Kev. It has worked. Good night.

@kevcomedia i still didnt understood i have been facing same problem