What is the purpose of format function?


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

Post New Answer

More Core Java Interview Questions

What are the 4 types of characters?

0 Answers  


What is the effect of keeping a constructor private?

0 Answers  


What does nullpointerexception mean?

0 Answers  


What is the difference between method and constructor ?

3 Answers  


Is &&= a valid Java operator?

2 Answers  






Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

0 Answers   Mphasis,


Why Static variable required in java?For ex,class A { static int a; int b; } Why static is required?

5 Answers   Ericsson,


ublic class Java_Coding_Samples { public static void JavaHungr(NumberFormatException ae){ System.out.println("integer"); } public static void JavaHungry(Exception e){ System.out.println("string"); } public static void JavaHungry(ArithmeticException ae){ System.out.println("object"); } public static void main(String[] args) { JavaHungry(null); }

1 Answers  


what is the difference between String and StringBuffer classes?

2 Answers   Infosys,


suppose in a class there is a code like this: { Set hs=new Hashset(); hs.add(new Emp("kathy",1000)); hs.add(new Emp("kathy",2000)); } how can u avoid the above code in your class as set won't allow duplicate objects?

3 Answers  


Is string is a data type?

0 Answers  


What is super?

0 Answers  


Categories