Welcome To The FosterZen Answers

 
Himanshu Kumar posted a question related to programming.
 

Consider the following code:
class Demo{
         public static void main(String args[ ]){
             Test  ob1 = new Test(); // Line 1
             Test ob2 = new Test();  //Line 2
             Test ob3 = ob1;   // Line 3
             ob2 = ob1;   // Line 4
             ob1 = null;   // Line 5
             /*  Some More Code  */
         }
}

After execution of the Line 5, how many object(s) is/are available for the garbage collector to de-allocate the memory? Assume that class Test is already declared.
 


18 February 2013 , 05:15 A.M   Unanswered      Answers This Question


 
Himanshu Kumar posted a question related to programming.
 

What wud the OUTPUT?  plz Explain !

class Demo{
        public int varOne=100;   
        public float varTwo=2.0f;  
        
        public void myMethod(){  
            int varThree=(varTwo + varOne)/2;
            System.out.println("varThree:"+varThree);
        }
    
        public static void main(String args[]){
            Demo obj=new Demo();   
            obj.myMethod();   
        }  
}


18 February 2013 , 05:14 A.M   Unanswered      Answers This Question


 
Vishal Aditya posted a question related to programming.
 

What will happen here?

for(   ;    ;   )

{

 cout<<"*";

}


07 October 2012 , 03:05 A.M   2 answers       Answers This Question


 
Sonia Chauhan posted a question related to Mathematics.
 

solve this & give the logic-0,1,1,1,-1,-1,-3,?


04 October 2012 , 08:52 A.M   3 answers       Answers This Question


 
Rohit Singh posted a question related to networking.
 

What is device driver?


26 September 2012 , 04:35 A.M   2 answers       Answers This Question


 
Rohit Singh posted a question related to networking.
 

How to get the OS information in Linux?


22 September 2012 , 07:27 A.M   2 answers       Answers This Question


 
Rahul Kumar posted a question related to hacking.
 

my pen drive showing message 'write proteted',tried formating using cmd also but can't help.

wat ot do?

 


20 September 2012 , 07:55 A.M   2 answers       Answers This Question


 
Abhijeet Singh posted a question related to others.
 

administrator...plz start a forum for discussion..queries regarding what else to do during college period..and rope in some really gud seniors who have had wonderful career..and they really knw things in depth... and make it for evry branch..because that wud be more beneficial..anything like gre,gmat,cat,upsc...ppl are having lots of question and really need a good guidance..plz start a forum for this... 


17 June 2012 , 05:45 A.M   2 answers       Answers This Question


 
Ansu Priyadarshi posted a question related to networking.
 
This is what my fedora 16 shows when i boot in it..*error*MUX_info_call_failed ....due to this particular error, my system's boot time(into fedora) has been badly deteriorated....plss help!!!!

25 May 2012 , 01:51 A.M   2 answers       Answers This Question


 
Adarsh Kumar posted a question related to hacking.
 
How to hack any website?

21 May 2012 , 05:50 A.M   1 answers       Answers This Question


 
Vishal Aditya posted a question related to hacking.
 

Good tutorial site I want some hacking software s name to hack accounts and id. As it can run in background of computer and when user type any text in browser then it will continuously make its text file and send to the hacker given email id


16 May 2012 , 05:30 A.M   2 answers       Answers This Question


 
Rohit Singh posted a question related to programming.
 

 I need to embed a media player in a web page to play audio and video files. can any one suggest me any good media player for website?


13 May 2012 , 07:12 A.M   1 answers       Answers This Question