String is an immutable object. Then how can the following code be justified. String s1 = ?ABC?; String s1 = s1+?XYZ?; s.o.p(s1); The output is ABCXYZ, which is the value of s1 ?
6 18255Instead of writing Home, Remote Interfaces if i directly extends EJBObject to bean class what happens?
1 5357when we write class.forName("any one class"); what happens actually?what it will return?explain stepwise?
6 9411explain System.out.println
Calpine Technologies, Care, Cognizant, CTS, IBM, IBS, LibSys, Oracle, Spiro Solutions, TCS,
107 202448what is difference Between Core Java and advance java
HCL, HP, Sambalpur University, TCS, Vensai Technologies, Wipro,
60 176797when asub class inherits a super class and overrides a public method of super class in sub class(public method in super class). why these methods needs to be public in sub class. (otherwise compile time error).
3 6590
how to create daemon thread in java?
What happens if we override only equals?
Why main method is static in java?
How is Object Oriented Programming different from Procedure Oriented Programming?
What do you know about the garbage collector in java?
What is a boolean field?
Why do we need hashset in java?
What do you mean by constant time complexity?
hr interview how many minutes asking question
How we can declare a static variable?
Are generics important java?
what is difference between equals and ==?
What is synchronization and why is it important in java programming?
What does g mean in regex?
What is an example of a constant variable?