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 15859Instead of writing Home, Remote Interfaces if i directly extends EJBObject to bean class what happens?
1 4432when we write class.forName("any one class"); what happens actually?what it will return?explain stepwise?
6 7593explain System.out.println
Calpine Technologies, Care, Cognizant, CTS, IBM, IBS, LibSys, Oracle, Spiro Solutions, TCS,
107 176556what is difference Between Core Java and advance java
HCL, HP, Sambalpur University, TCS, Vensai Technologies, Wipro,
60 162346when 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 5418
When do we use hashset over treeset?
What are the special characters?
What is static data type in java?
What is the difference between choice and list?
Why lambda expression is used in java?
What is an immutable class? How to create an immutable class?
What are 3 data types?
What does super keyword do?
What is indexof in java?
Which programming language is best in future?
What is the difference between break and continue statements?
What is visibility mode?
What is generics in java interview questions?
What do you understand by an io stream?
How many times finalize method will be invoked? Who invokes finalize() method in java?