GoConqr has a new look! Let us know what you think.

Flashcards

Basics

Ivanna P Computer Science AP English 20 cards

Cards in this deck (20)

  1. 1The start of all Java programsA class
  2. 2The symbol all Java programs start and end with{
    }
    braces
  3. 3The symbol that goes at the end of most lines of code;
    semi-colon
  4. 4This action makes code easier to readindentation
  5. 5System.out.print(x)prints x and remains on that line
  6. 6System.out.println(x)prints x and moves on to the next line down
  7. 7System.out.printf(s, x)print line for formatting
    [info under another topic]
  8. 8System.[[[out]]].print("Hello World");reference
  9. 9System.out.[[[print]]]]("Hello World");command / method
  10. 10System.out.print[[["Hello World")]]];string literal
  11. 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. 12\nescape sequence:
    moves to front of the next line
  13. 13\\escape sequence:
    makes a single backslash
  14. 14\"escape sequence:
    makes one double quote
  15. 15\tescape sequence:
    tabs over 5 spaces
  16. 16\bdeletes previous character
  17. 17\rmoves to the front of the current line
    a.k.a - carriage return
  18. 18\'nets one single quote
  19. 19System.out.println( 7 + 8 + 9 );24
  20. 20System.out.println( 7 + 8 + 9 );

Information

Description
AP Computer Science Flashcards on Basics, created by Ivanna P on 12/12/2023.
Created by
Ivanna P
Views
13
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?