Java Naming Convention
Java names follow a house style so teammates can read your code. Classes: PascalCase — StudentService, BankAccount. Methods and variables: camelCase — calculateTotal, studentName.
Constants: UPPER_SNAKE — MAX_SIZE, DEFAULT_TIMEOUT. Packages: lowercase with dots — com.company.app. Prefer daysLeft over d. The name should say the purpose.
Wrong style looks amateur: class student, or method CalculateTotal. Recite the four styles in fifteen seconds in an interview.
Let's take this on the board with one tiny Main class — no extra files. Java Naming Convention — output: 3 then 100. studentCount is camelCase; MAX_MARKS is a constant. Class names like Student use PascalCase. Start from main, go line by line, and stop at each print. That output is the proof for Naming Convention.
Four styles: class, method, constant, package — with one example each.