|
Related Questions |
View Answer |
|
i want to know the difference between these two programs mean the flow /*public class Aquestion { private int i = giveMeJ(); private int j = 10; private int giveMeJ() { return j; } public static void main(String args[]) { System.out.println((new Aquestion()).i); } } */
public class Aquestion { private int j = 10; private int i = giveMeJ();
private int giveMeJ() { return j; } public static void main(String args[]) { System.out.println((new Aquestion()).i); } }
|
View Answer
|
|
How we can implement the constructer nesting in java
|
View Answer
|
|
Why single inheritance cannot be use in java/why we alwayz use multiple inheritances?
|
View Answer
|
|
What is the order of intialization of variables in Java.
|
View Answer
|
|
What is the difference between Inheritance and Aggrigation?
|
View Answer
|
|
What are some alternatives to inheritance?
|
View Answer
|
|
Which on is best string or string buffer?which one is mutable and immutable?
|
View Answer
|
|
It is essential to catch all types of exceptions
|
View Answer
|
|
In what situations we can use innerclass and anonymous class
|
View Answer
|
|
What is serilization and deserilization
|
View Answer
|
|
What does validate() pack() mean in Frames
|
View Answer
|
|
What is Weak reference and Soft reference in java?
|
View Answer
|
|
When, where and why we are using overloading and overriding???
|
View Answer
|
|
wat is the disadvantage of threads?
|
View Answer
|
|
can dead thread restart?
|
View Answer
|
|
Why String is not a primitive data type
|
View Answer
|
|
As the Swings have more advantages over the AWT.. Why still in market are they using AWTs?? plzz..i want answer..in many interviews they asked me the same.
|
View Answer
|
|
Class hierarchy of AbstractMap is as follows "AbstractMap implements Map" Class hierarchy of HashMap is as follows "HashMap extends AbstractMap implements Map" When AbstractMap implements Map interface and AbstractMap is extended by HashMap, what is the use of again implementing Map interface in the declaration of HashMap?.
|
Class hierarchy - Java Interview Questions & Answers">
View Answer
|
|
wat is the disadvantage of threads?
|
View Answer
|
|
can dead thread restart?
|
View Answer
|