Explain java code for recursive solution's base case?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is the common usage of serialization? What exceptions occur during serialization?

0 Answers  


What is substring in java?

0 Answers  


class A { public void disp(int a,int b) { System.out.println("hai"); } } class B { public void disp(int a,int b,int c) { System.out.println("hai"); } } above program is overloading or overriding?

9 Answers   Infosys, Wipro,


What is meant by Encapsulation? Can you write a class to explain encapsulation?

8 Answers   Ness Technologies,


What is methodological framework?

0 Answers  


What is "finally" keyword?

10 Answers  


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". } } }

0 Answers   Google,


enlist some features of jdk.

0 Answers  


Why is java multithreaded?

0 Answers  


What do you understand by the term polymorphism?

0 Answers  


Name the methods in mouse listeners ?

4 Answers  


Java is based on pass by reference or pass by value ..

6 Answers   L&T, Wipro,


Categories