Why does the Java programming language use a coffee name as a name

When the Java language was founded, when it was named, it was found that the name I wanted to use Oakhad Lyricbeen registered and occupied by others, so what name should I choose?
insert image description here

1. The origin of the name

Under the brainstorming of the whole team, one member stumbled upon this: the classes in Java are compiled into .classfiles, open any .classfile, and find that in this hexadecimal file, the first 4 letters happen to be cafe(coffee). So the development team wanted to choose a coffee name as the name of the language. So the question becomes which coffee to choose as a name?

2. Ramp up IP popularity

One of the more famous coffees at that time came from Java (zhǎo) Island (English: Java [ˈdʒɑːvə]), which was rich in Java coffee. Java coffee was brought to Indonesia around 1969 by the Dutch during the colonial era, and it has been cultivated in Indonesia for 300 years. From then to now, the name Java (English: Java) is almost synonymous with Indonesian coffee in the West!

In order to promote this programming language, the founding team chose the name of Indonesian Java coffee, which was popular in the global coffee market at that time, as the name of this programming language, so it was named Java. Of course, developers also want to use the popularity of Java coffee to make the list and promote it, and strive to let more people understand and use such a new programming language.

3. Read source code verification

I NotePad++installed the HEX-Editorplug-in and opened a .classfile in the Java project directory at random, and found that the first line was indeed at the beginning cafe, which proved that this explanation is indeed not groundless. The source code is as follows:

ca fe ba be 20 20 20 31 20  

cafe babe translation: coffee baby.

4.Java Bean

java BeanAs the name suggests, it means coffee beans, so objects in Java are called a coffee bean object.
insert image description here

end

Now, I finally understand the original intention of the founder to name a coffee at that time, and the JDK icon is also designed to be a cup of hot coffee. If you like this explanation, please give it a thumbs up!
insert image description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324127475&siteId=291194637