Java learning

xiaoxiao2021-03-06  146

1. What is Java 2. Object-oriented core idea 3. Java's characteristics 1. What is Java: Isn't it an object-oriented programming language? So what is the object? The object is the real world, the earth, the earth, the moon, the stars, the house, the car, but the light is not good, all things have to have a contact, you have to tell these objects what to do For example, your beloved girl makes you picking stars, take the moon, what should you do, can't wait for people to run; first, find a foot basin, this is the container, then decorate the water, take advantage of the moon star Many nights, get your beloved girl, tell her, the star moon I got to you, you can go with me, • # ¥% ¥, rely, Java seems to have no relationship, don't worry, don't worry, Wait until you can edit stars on your computer, you will think, I k, isn't this Java? 2. Object-oriented core idea: 1. Just said, everything can be seen as an object, remember to remember, only abstracts the world that exists in the world, can express the object to the computer, you can decay into magic, this is the JAVA Jiuyin Zhenjing Practice Only deep understanding of this concept, you may be able to cultivate to the highest realm, what is the highest realm: One day you find that you can't learn, hey, this is the highest realm. 2. Everything is not isolated, but there is a connection, and there is only the news from each other by mutual delivery, and you can complete the Dongdong 3. However, the object is not a unified, I have to remember the family, don't make a mistake, when I got Zhang San's wife, I got the head of Li Si, but you have a good look 4. Each object is of course not a virtual, accounting for some space, of course, the storage space is 5. When there is a message to the object, you can see if he can accept this type, don't have a lip is not pair of horses (Note: To succeed, sway the palace, half the wall blue light, hard practice for three years, must have Gregs) 3. Java's characteristics: The main probably these three: packages, inherit, polymorphic packages: the object's package can be a learning, how to pack an object, only can not be said, • # ¥ ¥ ¥ # ... .. Boss, don't take me inheritance: The portrait of the object, how much you need, I can produce how much the same object polymorphism: the horizontal coherence of the object, no matter what type, small, I can deal with

转载请注明原文地址:https://www.9cbs.com/read-127288.html

New Post(0)