Mnemonics Flashcards
1
Q
Порядок операций.
A
Ulcer Addicts Really Like C A lot.
Unary (+ - ++ - -) Arithmetic (* / % + - << >> ) Relational (< > == !=) Logical (&& || & |) Conditional (ternary) (A > B ? a : b) Assignment (=, +=, *=)
2
Q
Что использовать при дженериках.
A
PECS
Producer extends and Consumer super.
3
Q
Primitieves sizes
A
boolean (1 bits) byte (8 bits) char, short (16 bits) int, float (32 bits) long, double (64 bits) Now the Spell :
1 hooligan got 8 bites and his 16 wheeled car was shot into floating waters double the size of london 64