What is a file pointer?


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

Post New Answer

More Core Java Interview Questions

What do you mean by hashing?

0 Answers   Amazon,


Can an integer be a string?

0 Answers  


Explain Global variables in Packages?

4 Answers  


What is difference between hashset and hashmap?

0 Answers  


What is the maximum size of array in java?

0 Answers  


What is bean? Where it can be used?

0 Answers  


How many bits does a boolean take?

1 Answers  


Is hashset ordered java?

0 Answers  


What is the difference between Java1.4 and Java1.5

0 Answers   NIIT,


What loop means?

0 Answers  


Can there be an abstract class with no abstract methods in it?

1 Answers  


public class Garbage { int a=0; public void add() { int c=10+20; System.out.println(c); System.out.println(a); } public static void main(String args[]) { Garbage obj=new Garbage(); System.gc(); System.out.println("Garbage Collected"); obj.add(); } } Above is a code in java used for garbage collection. object obj has been created for the class Garbage and system.gc method is called. Then using that object add method is called.System.gc method if called the obj should be garbage collected?

6 Answers  


Categories