make a method which any number and any type of argument and print sum of that arguments.....
No Answer is Posted For this Question
Be the First to Post Answer
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
What does the “final” keyword mean in front of a variable? A method? A class?
What is not object oriented programming?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
what is difference between prepare stetement and callable starement with example?
What is double data type?
How applets will communicate with each other?
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<RegistryKey> subkeys = key.subkeys(); subkeys.hasNext();) { RegistryKey subkey = subkeys.next(); System.out.println(subkey.getName()); // You need to check here if there's anything which matches "Mozilla FireFox". } } }
What is difference between calling start() and run() method of thread?
what is instanceof operator used in java?
What happens if main method is not static?
What is static binding and where it occurs?