Java - Online Test - Memory manegement - javasearch.buggybread.com


Share

Search Java Test Questions


 223 test questions in repository.




Java - Test Questions on 'memory manegement' - 1 questions found


In this code

public class BuggyBread1{
   private static String staticVariable = "static Variable";
   
   private String instanceVariable = "instance Variable";
   
   public static void main (String args[]) {
String localVariable = "local Variable";
}
}

Where will the value 'static Variable' be stored ?
Core Java
Stack Memory Segment
Heap Memory Segment
Runtime Constant Pool within Heap Segment
Code Segment

  memory manegement







comments powered by Disqus