Can a class have an interface?
What is the covariant return type?
How does marker interface provides functionality to the implemented class ? or How dose maker interface gets the functionalities as serialization or cloning.
Difference between a process and a program?
Can a class be protected in java?
Which is the best way to use for String concatenation in Java?
Why static functions are used?
how can you take care of mutual exclusion using java threads? : Java thread
Explain the difference between throw and throws in java?
what is the difference between static class and singleton class? can we create static class?
2 Answers L&T, Octazen, Vamsi Labs,
When you say String is immutable, what do you mean by that? Say I have String s = "Ness" s= s+"Technologies"; What will happen? If the value gets appended, then what is the meaning of immutable here?
primitive data types in Java ?
What are E and PI?