Java for Fucking Idiots: Learn the Basics of Java Programming Without any experience!



Download 3,91 Mb.
Pdf ko'rish
bet4/70
Sana02.04.2022
Hajmi3,91 Mb.
#524999
1   2   3   4   5   6   7   8   9   ...   70
Bog'liq
Java for Fucking Idiots

Machine Language: The extremely specific instructions to a computer’s
CPU that tells it how to process the 0s and 1s, perform mathematical
operations, and that kind of confusing shit.
Assembly Language: A type of language that’s a little bit more
understandable than machine language. An assembly language creates the


machine language, on our behalf, for a particular CPU architecture. It’s
basically shorthand for the machine language. Stay away.
Programming Language: The languages that humans in the modern-day
use to write software. Like assembly language, it compiles to the right type
of machine code based on the type of Processor you’re targeting.
But rather than being an obtuse, impossible to understand piece of garbage
like Assembly Language (seriously, google it), we get to use relatively easy
to write and comprehend programming language. The programming
language’s compiler takes care of getting us down to machine code!
Java’s selling point
Java programmers don’t need to worry about writing for a Dell, or an HP, or
a MacBook computer. They write for a make-believe computer called the
Java Virtual Machine (JVM).
The JVM acts as basically the ultimate translator for us; it can speak the
machine language for pretty much any kind of processor. We just give it the
compiled Java code, and it takes care of the rest.
So, Java is a programming language that replaces the practice of “compiling
to machine language” with “compiling to Java Virtual Machine language.”
What is compiled Java code then, if it’s not machine code? I mean, what
language does the Java Virtual Machine (JVM) understand?
It’s called bytecode . Any source code you write in Java that wants to run on
the Java Virtual Machine needs to be compiled to “bytecode” first.
No, you don’t need to worry about what bytecode actually is. It’s just the
result of compiling a Java program. C++ might compile to machine code,
but Java is compiled to bytecode.
So, it be like this:
1. You write source code in Java.
2. The Java Compiler “compiles” or translates the source code to
bytecode .


3. The Java Virtual Machine (JVM) running on your computer
executes that bytecode .
4. That same bytecode can run on a billion different computers as long
as they have the JVM.
Got it?
If you do not get it, please mail me a letter: 1600 Pennsylvania Ave NW,
Washington, DC 20500.
(Note: this is not my real address).

Download 3,91 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   ...   70




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish