entire year of AP Comp Sci A

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 8

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

9 Terms

1

block comments

the compiler will ignore these

e.g.

/* hello world! */

New cards
2

class declaration

  • identifies name, start, and end of class

  • class name MUST match the file name

New cards
3

main method

controls all the action in the program

New cards
4

System.out

object that generates output to console

New cards
5

output

  • what the computer makes from the input

  • what comes out as a result of the code

New cards
6

console

where the output is printed

New cards
7

System.out.print

  • display whatever is in parentheses on screen but waits @ the end of the line for more info to display

    • the compiler assumes that the next thing you print will be on the same line

  • System.out.println: displays what is in parentheses. the next thing printed after this command will be on another line

New cards
8

compiler

translates the code in the IDE into the output in the console

New cards
9

object-oriented

organizes software design around data & objects, not functions & logic

e.g. Java

New cards
robot