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


) What is the difference between the paint() and



Download 126,65 Kb.
Pdf ko'rish
bet39/55
Sana01.02.2022
Hajmi126,65 Kb.
#421305
1   ...   35   36   37   38   39   40   41   42   ...   55
Bog'liq
core java interview ques

142) What is the difference between the paint() and
repaint() methods?
The paint() method supports painting via a Graphics object. The repaint() method is used to
cause paint() to be invoked by the AWT painting thread.
143) What is the purpose of the File class?
The File class is used to create objects that provide access to the files and directories of a
local file system.
144) Can an exception be rethrown?
Yes, an exception can be rethrown.
145) Which Math method is used to calculate the absolute
value of a number?
The abs() method is used to calculate absolute values.
146) How does multithreading take place on a computer
with a single CPU?
The operating system's task scheduler allocates execution time to multiple tasks. By quickly
switching between executing tasks, it creates the impression that tasks execute
sequentially.



Download 126,65 Kb.

Do'stlaringiz bilan baham:
1   ...   35   36   37   38   39   40   41   42   ...   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