Basics

Descripción

AP Computer Science Fichas sobre Basics, creado por Ivanna P el 12/12/2023.
Ivanna P
Fichas por Ivanna P, actualizado hace más de 1 año
Ivanna P
Creado por Ivanna P hace alrededor de 2 años
4
0

Resumen del Recurso

Pregunta Respuesta
The start of all Java programs A class
The symbol all Java programs start and end with { } braces
The symbol that goes at the end of most lines of code ; semi-colon
This action makes code easier to read indentation
System.out.print(x) prints x and remains on that line
System.out.println(x) prints x and moves on to the next line down
System.out.printf(s, x) print line for formatting [info under another topic]
System.[[[out]]].print("Hello World"); reference
System.out.[[[print]]]]("Hello World"); command / method
System.out.print[[["Hello World")]]]; string literal
Term for items that can be embedded inside the string parameter or print and provide extra ways to command, format, or control the output Escape Sequences
\n escape sequence: moves to front of the next line
\\ escape sequence: makes a single backslash
\" escape sequence: makes one double quote
\t escape sequence: tabs over 5 spaces
\b deletes previous character
\r moves to the front of the current line a.k.a - carriage return
\' nets one single quote
System.out.println( 7 + 8 + 9 ); 24
System.out.println( 7 + 8 + 9 );
Mostrar resumen completo Ocultar resumen completo

Similar

Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Data Analytics
anelvr