What is scope of a variable?


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

Post New Answer

More Core Java Interview Questions

what state does a thread enter when it terminates its processing? : Java thread

0 Answers  


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"); } }

0 Answers  


What is a private class in java?

0 Answers  


Can a for statement loop indefinitely?

3 Answers  


What are the similarities between an array and an ArrayList?

3 Answers  






Why are parameters used in functions?

0 Answers  


Wha is the output from system.out.println(“hello”+null); ?

0 Answers  


What are the drawbacks of reflection?

0 Answers  


What is the purpose of the wait(), notify(), and notifyall() methods in java programming?

0 Answers  


What is an anonymous class?

1 Answers   IBM,


tell me some common

2 Answers   TCS,


In how many ways we can the thread? in java

3 Answers  


Categories