What are internal and external variables?
How many threads can java run?
Explain the scope of a variable.
What is the use of toarray () in java?
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"); } }
int a=10,b=20,c=30 a= b+c;b=a+c;c=a+b; System.out.println("The value is"+a+b+c;
What are the operands of instanceof operator?
What are the differences between throw and throws?
What is difference between printf and scanf?
What loop means?
what is synchronization and why is it important? : Java thread
Difference between final and effectively final ?
What do you understand by copy constructor in java?