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 18209Instead of writing Home, Remote Interfaces if i directly extends EJBObject to bean class what happens?
1 5343when we write class.forName("any one class"); what happens actually?what it will return?explain stepwise?
6 9373explain System.out.println
Calpine Technologies, Care, Cognizant, CTS, IBM, IBS, LibSys, Oracle, Spiro Solutions, TCS,
107 202051what is difference Between Core Java and advance java
HCL, HP, Sambalpur University, TCS, Vensai Technologies, Wipro,
60 176456when 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 6569
Is it necessary for the port addresses to be unique? Explain with reason.
what is the difference between the methods sleep() and wait()? : Java thread
Can you pass functions in java?
Define class?
What is flush () in java?
Can a final variable be manipulated in java?
What is variable in java?
What does 0 mean in boolean?
What are daemon Threads in java?
How transient variable is different from volatile variable?
How is java hashmap implemented?
How to call one constructor from the other constructor ?
What is canonical name in java?
What is the difference between an object-oriented programming language and object-based programming language?
What do negative exponents mean?