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 18199Instead 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 9368explain System.out.println
Calpine Technologies, Care, Cognizant, CTS, IBM, IBS, LibSys, Oracle, Spiro Solutions, TCS,
107 201874what is difference Between Core Java and advance java
HCL, HP, Sambalpur University, TCS, Vensai Technologies, Wipro,
60 176320when 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 6563
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
What do you understand by java?
Does list maintain insertion order java?
What is an iterator java?
How to implement a multithreaded applet?
What is Garbage Collection in Java
What is the use of default method in interface in java?
What are the ways to instantiate the class class?
Is java a security risk?
Can you make a constructor final in Java?
What is the purpose of the finalize() method?
Is Java a dying language?
Define "Access specifiers" in java.
what is comparable and comparator interface?
What is difference between class and object in java?