O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

Java Naming Convention

Surya Sun Inglês

Conteúdo do mapa

Java Naming Convention

  1. Class Name:- a) class names always begin with a capital letter (eg. java.util.Scanner) b) if there are mutiple words in the class name then each word must also begin with a capital letter (eg. java.util.GregorianCalendar).

  2. Package Name:- a)Package names always start with lowercase characters (util, lang, io, etc). b)if there are multiple words in the package name, then you need to use uppercase for all words except for the starting word. b) if there are multiple words in the package name, then you need to use uppercase for all words except for the starting word.

  3. Methods: a)Method name must start with lowercase b) if there are multiple words in the name, then you need to use Uppercase for starting letters for these words except for the starting word. This is called as lowerCamelCase. example:-void myMethod() { }

  4. Object/Variables:- a)Object/ variables must start with lowercase and if there are multiple words in the name, then you need to use Uppercase for starting letters for the words except for the starting word. This is called as lowerCamelCase. ex:-String myName; MyClass myObject;

  5. Constant Variables: a)constant variables are declared using “static final” modifiers. And such variables must contain only UpperCase characters and multiple words must be seperated using ‘_’. example:-static final char END_OF_FILE

Informações

Descrição
Mapa Mental sobre Java Naming Convention, criado por Surya Sun em 27-08-2015.
Criado por
Surya Sun
Visualizações
1
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?