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


) What class of exceptions are generated by the Java



Download 126,65 Kb.
Pdf ko'rish
bet43/55
Sana01.02.2022
Hajmi126,65 Kb.
#421305
1   ...   39   40   41   42   43   44   45   46   ...   55
Bog'liq
core java interview ques

159) What class of exceptions are generated by the Java
run-time system?
The Java runtime system generates RuntimeException and Error exceptions.
160) What class allows you to read objects directly from a
stream?
The ObjectInputStream class supports the reading of objects from input streams.
161) What is the difference between a field variable and a
local variable?
A field variable is a variable that is declared as a member of a class. A local variable is a
variable that is declared local to a method.
162) Under what conditions is an object's finalize()
method invoked by the garbage collector?
The garbage collector invokes an object's finalize() method when it detects that the object
has become unreachable.


163) How are this() and super() used with constructors?
this() is used to invoke a constructor of the same class. super() is used to invoke a
superclass constructor.

Download 126,65 Kb.

Do'stlaringiz bilan baham:
1   ...   39   40   41   42   43   44   45   46   ...   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