Tag: programming languages
Questions Related to programming languages
-
num1= -99999 num2= 999.99
-
num1= 0 num2= 999.99
-
num1= -99999 num2= 99999
-
num1= 0 num2= 99999
-
Integer
-
Float
-
Number
-
Double
-
>
-
-
extends Object>
-
None of these
-
public T update()
-
public void update(T updateValue)
-
void update(T updateValue)
-
public void update()
-
It will run without error
-
Runtime Error
-
Compilation Error
-
None of all
-
We can invoke run() method directly to start thread
-
If we call start() method twice, two threads will be created
-
t.sleep(50) - it will give minimum guarantee of at least 50ms this thread will not run
-
Thread can be still alive even after the completion of run().
-
Ready
-
Runnable
-
New
-
Waiting
-
it is still alive
-
It will release all hold locks
-
It comes to runnable state after sleep time expired
-
No other thread can enter into the synchronized.