Java: Basics

Java is a General Purpose, Object Oriented Programming Language heavily used in Enterprise projects. Java Naming Conventions Following a standard naming convention would make a project codebase more readable and maintainable. Following are some of those standards used to name different things in Java. Classes and Interfaces names should be nouns first letter of each internal word should be capitalised must avoid acronyms and abbreviations Example: interface Bicycle class MountainBike implements Bicycle interface Sport class Football implements Sport Methods should be verbs first letter of the name should be lowercase first letter of each internal work should be uppercase example: