Java Element Naming Strategy package all lowercase letters and - - PowerPoint PPT Presentation

java element naming strategy package all lowercase
SMART_READER_LITE
LIVE PREVIEW

Java Element Naming Strategy package all lowercase letters and - - PowerPoint PPT Presentation

Java Element Naming Strategy package all lowercase letters and numbers class start with uppercase, rest mixed, no underscores method start with lowercase, rest mixed, no underscores instance variables start with lowercase, rest mixed, no


slide-1
SLIDE 1
slide-2
SLIDE 2
slide-3
SLIDE 3
slide-4
SLIDE 4
slide-5
SLIDE 5
slide-6
SLIDE 6
slide-7
SLIDE 7
slide-8
SLIDE 8
slide-9
SLIDE 9
slide-10
SLIDE 10
slide-11
SLIDE 11
slide-12
SLIDE 12
slide-13
SLIDE 13

Java Element Naming Strategy package all lowercase letters and numbers class start with uppercase, rest mixed, no underscores method start with lowercase, rest mixed, no underscores instance variables start with lowercase, rest mixed, no underscores named constants uppercase letters and underscores

slide-14
SLIDE 14

Operator Description Associtivity [ ] . ( ) indexing member selection method invocation º º º ++, -- ! ~ +, - ( ) new instanceof auto increment and decrement logical negation bitwise complement unary grouping and casting

  • bject instantiation

class membership (boolean) » » » » » » » *, /, % multiplication, division, modulo º +, - addition and subtraction º

slide-15
SLIDE 15

<< >> >>> bitwise left shift bitwise right shift (sign extend) bitwise right shift (zero pad) º º º <, >, <=, >= numeric relationships º ==, != equality or inequality º & bitwise and º ^ bitwise exclusive-or º | bitwise or º &&, & logical and º ||, | logical or º ?: conditional expression º =, op=

  • peration and assignment

»

slide-16
SLIDE 16
slide-17
SLIDE 17
slide-18
SLIDE 18
slide-19
SLIDE 19
slide-20
SLIDE 20
slide-21
SLIDE 21
slide-22
SLIDE 22
slide-23
SLIDE 23
slide-24
SLIDE 24