how to make a un-checked exception as a checked exception one.
Answer Posted / janardhan
If a client can reasonably be expected to recover from an
exception, make it a checked exception. If a client cannot
do anything to recover from the exception, make it an
unchecked exception.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
how to write a program for sending mails between client and server
What is abstract class constructor called?
What does localhost mean?
What is the difference between keyword and identifier?
Explain heap sort?
What is the meaning of course?
What is the difference between notify and notifyall method?
Is void a data type?
Can we override compareto method?
What if constructor is protected in java?
What the difference is between execute, execute Query, execute Update?
which pattern is default in scanner package?
Is there any way to find whether software installed in the
system is registered by just providing the .exe file?
I have tried the following code but its just displaying the
directory structure in the registry.
Here the code :
package com.msi.intaller;
import java.util.Iterator;
import ca.beq.util.win32.registry.RegistryKey;
import ca.beq.util.win32.registry.RootKey;
public class RegistryFinder {
public static void main(String... args) throws Exception
{
RegistryKey.initialize(RegistryFinder.class.getResource("jRe
gistryKey.dll").getFile());
RegistryKey key = new RegistryKey(RootKey.HKLM,
"Software\\ODBC");
for (Iterator
What best practices should you follow while writing multithreaded code in java?
What are the two main uses of volatile in Java?