What is the difference between member variables initialization and assignment in a constructor?


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 JVM?

0 Answers   Ericsson,


Is array passed by reference in java?

0 Answers  


What are the allowed, non-Unicode letter characters that can be used as the first character of an identifier?

2 Answers  


What is ‘has a’’ relationship in java?

0 Answers  


Why java does not support pointers?

0 Answers  






Why static functions are used?

0 Answers  


How many bits does a boolean take?

1 Answers  


How can we find the actual size of an object on the heap?

0 Answers  


Explain the difference between abstract classes and interfaces in java?

0 Answers  


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  


When we serialize an object does the serialization mechanism saves its references too?

0 Answers  


What is the dot operator?

0 Answers  


Categories