Fichas
Basics
Fichas del conjunto (20)
- 1The start of all Java programsA class
- 2The symbol all Java programs start and end with{
}
braces - 3The symbol that goes at the end of most lines of code;
semi-colon - 4This action makes code easier to readindentation
- 5System.out.print(x)prints x and remains on that line
- 6System.out.println(x)prints x and moves on to the next line down
- 7System.out.printf(s, x)print line for formatting
[info under another topic] - 8System.[[[out]]].print("Hello World");reference
- 9System.out.[[[print]]]]("Hello World");command / method
- 10System.out.print[[["Hello World")]]];string literal
- 11Term for items that can be embedded inside the string parameter or print and provide extra ways to command, format, or control the outputEscape Sequences
- 12\nescape sequence:
moves to front of the next line - 13\\escape sequence:
makes a single backslash - 14\"escape sequence:
makes one double quote - 15\tescape sequence:
tabs over 5 spaces - 16\bdeletes previous character
- 17\rmoves to the front of the current line
a.k.a - carriage return - 18\'nets one single quote
- 19System.out.println( 7 + 8 + 9 );24
- 20System.out.println( 7 + 8 + 9 );
Información
- Descripción
- AP Computer Science Fichas sobre Basics, creado por Ivanna P el 12/12/2023.
- Creado por
- Ivanna P
- Visitas
- 13
- Etiquetas
- Valoración