Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

TCS Core Java Interview Questions
Questions Answers Views Company eMail

what is sendredirect?

7 7440

what is difference between Action messages and Action errors?

3 13199

What are the steps to do connection pooling in weblogic?

1 7149

what is business delegate?

2 5389

how to use finalize()Method to resources

4 5313

What is Exception handling in Java How do you handle run time errors please explain with an example

2 6184

Diff between C++ and java?

9 8913

what is jndi?

1 4087

what is java bean?where can we use it?

12 25698

what is features of jdk 1.5?

2 12063

different types of threads?

18 51088

public class AboutStrings{ public static void main(String args[]){ String s1="hello"; String s2="hel"; String s3="lo"; String s4=s2+s3; //to know the hash codes of s1,s4. System.out.println(s1.hashCode()); System.out.println(s4.hashCode()); // these two s1 and s4 are having same hashcodes. if(s1==s4){ System.out.println("s1 and s4 are same."); }else System.out.println("s1 and s4 are not same."); } } Somebody told me that, == operator compares references of the objects. In the above example even though s1 and s4 are refering to same object(having same hash codes), it is printing s1 and s4 are not same. Can anybody explain in detail why it is behaving like this? Thanks in Advance RavuriVinod

4 5886

What is the purpose of premetive data types in java?

2 6794

Howmany number of objects we can store in an ArrayList. Is there any limit?

7 11660

What is the basic functionality of DataOutput interface in java?

2 4887

Post New TCS Core Java Interview Questions


TCS Core Java Interview Questions


Un-Answered Questions

Explain the technique of gene conversion.

466


What are the different types of erp?

429


Define an item?

3


What is meant by the term ‘theming’ in jquery mobile? : jQuery Mobile

311


How do you compare jsf with spring framework?

65






What are the types of variables in c?

427


Which personal actions have you performed on an employee?

413


How can you merge two tables in oracle?

428


Why a.i is needed?

392


Suppose I am trying to sign in to my blackberry internet service account, but I am getting this error message: “the user id and password provided are invalid. Please re-enter your user id and password and try again.” What should I do?

337


which backup strategy you are following at ur company

1598


What is pthread in linux?

330


State faraday`s law of induction.

450


What is the difference between autotext and quick parts?

236


Explain the difference between web service provider/publisher and web service requestor/consumer.

268