Cracking the Java Coding Interview pdfdrive com


What invokes a thread’s run() method?


Download 1.48 Mb.
Pdf ko'rish
bet68/182
Sana02.05.2023
Hajmi1.48 Mb.
#1423275
1   ...   64   65   66   67   68   69   70   71   ...   182
Bog'liq
Cracking the Java Coding Interview ( PDFDrive )

What invokes a thread’s run() method?
After a thread is started, via its start() method or that of the Thread class,
the JVM invokes the thread’s run() method when the thread is initially


the JVM invokes the thread’s run() method when the thread is initially
executed.
What are order of precedence and associativity, and how are they used?
Order of precedence determines the order in which operators are evaluated
in expressions. Associatity determines whether an expression is evaluated
left-to-right or right-to-left
What is clipping?
Clipping is the process of confining paint operations to a limited area or
shape.
Which characters may be used as the second character of an identifier, but
not as the first
The digits 0 through 9 may not be used as the first character of an identifier
but they may be used after the first character of an identifier
What is CTS (Common Type System)?
It defines about how Objects should be declard, defined and used within
.NET. CLS is the subset of CTS.
What is a policy?.
It’s an abstract class for representing the system security policy for a Java
application environment(specifying which permissions are available for
code from various sources). Java security properties file resides in
libsecurity/java.security directory. Value of “policy.provider” should be
changed.
What are the restrictions imposed by a Security Manager on Applets?.
i) Cannot read or write files on the host that’s executing it.
ii) Cannot load libraries or define native methods.
iii) Cannot make network connections except to the host that it came from

Download 1.48 Mb.

Do'stlaringiz bilan baham:
1   ...   64   65   66   67   68   69   70   71   ...   182




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