— Scott McNealy, Sun Microsystems Chairman, President and ceo



Download 40,57 Mb.
Pdf ko'rish
bet73/555
Sana26.05.2022
Hajmi40,57 Mb.
#609235
1   ...   69   70   71   72   73   74   75   76   ...   555
Bog'liq
Head First Java (Kathy Sierra, Bert Bates) (z-lib.org)

public static void
And the primitive types are reserved as well:
boolean char byte short int long fl oat double
But there are a lot more we haven’t discussed yet. Even if you don’t 
need to know what they mean, you still need to know you can’t use 
‘em yourself. Do not–under any circumstances–try to memorize these 
now.
To make room for these in your head, you’d probably have to 
lose something else. Like where your car is parked. Don’t worry, by 
the end of the book you’ll have most of them down cold.
don’t use any of these 
for your own names.
boolean
byte
char
double
fl oat
int
long
short
public
private
protected
abstract
fi nal
native
static
strictfp
synchronized transient
volatile
if
else
do
while
switch
case
default
for
break
continue
assert
class
extends
implements import
instanceof
interface
new
package
super
this
catch
fi nally
try
throw
throws
return
void
const
goto
enum
This table reserved. 
Java’s keywords and other reserved words (in no useful order). If you use these for names, the compiler will be very, 
very 
upset.
No matter what 
you hear, do not, I repeat, 
do 
not
let me ingest 
another large furry dog.


54
 
chapter 3
object 
references
Controlling your Dog object
You know how to declare a primitive variable and assign it a 
value. But now what about non-primitive variables? In other 
words, what about objects?


Download 40,57 Mb.

Do'stlaringiz bilan baham:
1   ...   69   70   71   72   73   74   75   76   ...   555




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