Teach Yourself Java in 21 Days
Download 5.76 Mb. Pdf ko'rish
|
Learn Java
Day
2 Object-Oriented Programming and Java 19 Thinking in Objects: An Analogy ............................................................. 20 Objects and Classes .................................................................................. 21 Behavior and Attributes ............................................................................ 23 Attributes ............................................................................................. 23 Behavior .............................................................................................. 24 Creating a Class ................................................................................... 24 Inheritance, Interfaces, and Packages ........................................................ 28 Inheritance........................................................................................... 29 Creating a Class Hierarchy ................................................................... 30 How Inheritance Works ...................................................................... 32 Single and Multiple Inheritance ........................................................... 34 Interfaces and Packages ........................................................................ 34 Creating a Subclass ................................................................................... 35 Summary .................................................................................................. 38 Q&A ........................................................................................................ 39 Day 3 Java Basics 41 Statements and Expressions ...................................................................... 42 Variables and Data Types ......................................................................... 43 Declaring Variables .............................................................................. 43 Notes on Variable Names .................................................................... 44 030-4 FM 1/29/96, 8:11 PM 9 |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling