Traditional Culture Encyclopedia - Hotel accommodation - In java? : What do you mean?
In java? : What do you mean?
In Java, we describe variables through three elements: variable type, variable name and variable value.
If we compare variables to hotel rooms, the data to be stored is just like the guests who want to stay. We can arrange for guests to stay in "standard room" or "presidential suite" according to their requirements, and we can quickly find the information of guests according to the room name. Similarly, in Java programs, we can also save data in a specified type of variable space according to the format of the data to be saved, and quickly locate it through the variable name!
For example, we define a variable? Love? To save a string? “imooc”? As long as you find the variable love in the program, you can find the "imooc" stored in it! Of course, we can also put? Love? Replace the value with a new string? I love imooc? !
Running results:
- Related articles
- Creative mobile phone illustration advertising poster-poster design classification and appreciation _ poster design appreciation analysis
- 2065 438+09+ processing time+address+price How to apply for Tianjin Wenhui Card?
- How many night markets are there in Yiwu?
- Transportation and accommodation around TOEFL examination room of Sichuan International Studies University
- The top ten private cinemas in Wuhan allow you to enjoy a sweet time in a short visit.
- Where are the free WIFI places in Wu Hanyou?
- Jindajiang hotel
- Introduction of whale band members
- How can I get to IKEA from Manamba?
- How about Jiangyin Kairui Knitting Co., Ltd.?