Explain where variables are created in memory?
Define inheritance with reference to java.
Where can I find jdk in my computer?
what are synchronized methods and synchronized statements? : Java thread
What is OOP Language?
how to run ecllipse with jettyserver for windows environment using batch file
class A { class B { psvm(String args[]) { } } } if the prg saved in A.java whats the o/p?
If you are given the name of the function at run time how will you invoke the function?
Can you extend singleton class?
what are the rules to use try catch finally?
Can you call a private data from an inner class?
public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }
What is the difference between preemptive scheduling and time slicing in java programming?