Core Java Interview Questions 1 What is the difference between an Abstract class and Interface?


) What is the difference between the Reader/Writer



Download 126,65 Kb.
Pdf ko'rish
bet33/55
Sana01.02.2022
Hajmi126,65 Kb.
#421305
1   ...   29   30   31   32   33   34   35   36   ...   55
Bog'liq
core java interview ques

114) What is the difference between the Reader/Writer
class hierarchy and the InputStream/OutputStream class
hierarchy?
The Reader/Writer class hierarchy is character-oriented, and the InputStream/
OutputStream class hierarchy is byte-oriented.
115) What classes of exceptions may be caught by a catch
clause?
A catch clause can catch any exception that may be assigned to the Throwable type. This
includes the Error and Exception types.
116) If a class is declared without any access modifiers,
where may the class be accessed?
A class that is declared without any access modifiers is said to have package access. This
means that the class can only be accessed by other classes and interfaces that are defined
within the same package.
117) What is the SimpleTimeZone class?
The SimpleTimeZone class provides support for a Gregorian calendar.
118) What is the Map interface?
The Map interface replaces the JDK 1.1 Dictionary class and is used associate keys with
values.

Download 126,65 Kb.

Do'stlaringiz bilan baham:
1   ...   29   30   31   32   33   34   35   36   ...   55




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