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 13178
Instead of writing Home, Remote Interfaces if i directly extends EJBObject to bean class what happens?1 3781
when we write class.forName("any one class"); what happens actually?what it will return?explain stepwise?6 6373
explain System.out.println107 158574
What is the use of Getters and Setters method ?4 14281
Can we declare an anonymous class as both extending a class and implementing an interface?8 14074
what is difference Between Core Java and advance java60 151886
how cani read a command line argument?(usingfile object).3 4493
what is the use/perpose of having a method antive?2 3611
when 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 4718
what is the difference between statis block and static variable7 7677
how can we use the servlet as standalone apllication?should we need to extend any class?2 5656
What is the numeric promotion?
Can we force the garbage collection to run?
What is nested top-level class?
Can we write any code after throw statement?
What is use of static method?
Can a class be private?
Define jre i.e. Java runtime environment?
Can an interface have a class?
What is this keyword used for?
What java is used for?
What are the features of java?
What is string :: npos?
How does queue work in java?
What is finally and finalize in java?
How does singleton class work?