What does %4d mean in java?


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

Post New Answer

More Core Java Interview Questions

What is the default size of load factor in hashing based collection?

0 Answers  


Can we create constructor in abstract class ?

0 Answers  


Adapter classes?

3 Answers  


How does thread synchronization occurs inside a monitor?

0 Answers  


Can we call a non-static method from inside a static method?

0 Answers  


What are the basic interfaces of java collections framework?

0 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  


What is package private scope in java?

0 Answers  


What is the use of protected in java?

0 Answers  


What is the use of a copy constructor?

0 Answers   Flextronics,


how you will prevent method overriding?

6 Answers   HCL,


What is void in java?

0 Answers  


Categories