02 - Классы и Объекты

  • Published on
    15-Jun-2015

  • View
    1.484

  • Download
    6

Embed Size (px)

Transcript

  • 1. Java

2. - : ! 3. 4.

5.

  • . .

6.

  • :
  • :

7.

  • :

8. , , , , 9. Java

  • ( :Bike.java)

10. Java

11. Java

  • Java:
  • public
  • private
  • protected -
  • package private,

12. Java

  • ( )
  • private protected
  • public
  • , , ( )

13. Static Members

  • Class Members vs. Instance Members

14. , , ? 15.

  • BCPL
  • ,
  • WinAPI ( szClassName).
  • ( Python, JavaScript, PHP)

16.

  • :CamelCase
  • , :camelCase
  • :ALL_CAPITALS_WITH_UNDERSCORES
  • :camelCase
  • Code Conventions for the Java Programming Language

17.

  • Java ( package).

18.

  • ()

19.

  • java- JAR-
  • ,
  • zip- -, ()
  • :
  • $ java -jar my-app.jar

Recommended

View more >