Basics

Descrição

AP Computer Science FlashCards sobre Basics, criado por Ivanna P em 12-12-2023.
Ivanna P
FlashCards por Ivanna P, atualizado more than 1 year ago
Ivanna P
Criado por Ivanna P mais de 1 ano atrás
3
0
1 2 3 4 5 (0)

Resumo de Recurso

Questão Responda
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 );

0 comentários

There are no comments, be the first and leave one below:

Semelhante

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