What is the purpose of format function?
No Answer is Posted For this Question
Be the First to Post Answer
What are the 4 types of characters?
What is the effect of keeping a constructor private?
What does nullpointerexception mean?
What is the difference between method and constructor ?
Is &&= a valid Java operator?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
Why Static variable required in java?For ex,class A { static int a; int b; } Why static is required?
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); }
what is the difference between String and StringBuffer classes?
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?
Is string is a data type?
What is super?