Keys, Vars, Identities, Datatype Flashcards
Abstract
I don’t know
Break
I don’t know
Case
Fill
Class
Fill
Continue
Fill
Else
Performs statement if above conditions aren’t meant
Final
Fill
For
Runs statement for certain time in for loop
If
Performs statement if condition is met
Import
Import packages and stuff used prior to coding for coding use. I.e pandas in python
Interface
Thing you interact with (FILL)
New
Fill
Return
Carries condition outside of method/function
Static
Fill
Switch
Form of control statement like if but uses cases and carries through. Good use of break
Throw
Fill
Try
Attempts code even though it will fail
This
Fill
While
Runs statements until condition is false
Variable organisation
=
Identifier do’s and donts
Do: alphanumeric and $,_
Don’t: start with number, no spaces, not keyword, case-sensitive
Data types
Boolean: true or false Byte: 8 bits Char: 16 bits ‘a’ Short: 16 bits ## Int: 32 bits ## Long: 64 bits ##L Float: 32 bits ##f Double: 64 bits ##
*character is amplified by ‘ ‘ while statements are “ “ *
Camal font
IDontKnowWhatCamalTexIsPleaseHelpMeDeduceWhatItCouldPossiblyBe
Imports are done when?
Before defining class!
Import Java.útil.scanner; Public class farmboys {
}