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 8008

what is difference between Action messages and Action errors?

3 13605

What are the steps to do connection pooling in weblogic?

1 7349

what is business delegate?

2 5652

how to use finalize()Method to resources

4 5619

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

2 6499

Diff between C++ and java?

9 9662

what is jndi?

1 4299

what is java bean?where can we use it?

12 26657

what is features of jdk 1.5?

2 12401

different types of threads?

18 52441

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 6307

What is the purpose of premetive data types in java?

2 7138

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

7 12400

What is the basic functionality of DataOutput interface in java?

2 5148

Post New TCS Core Java Interview Questions


TCS Core Java Interview Questions


Un-Answered Questions

Explain about services module?

69


Please explain what is a job scheduling?

476


How you can find the absolute value of the number in qtp?

507


Why cursor variables are easier to use than cursors?

557


What is the difference between hudson and jenkins?

5






What is query syntax?

511


What is the use of empty tags <> ?

174


What do you know about Development Officer job?

390


Explain the use of where clause in ms access sql?

492


How do you set up background jobs in sap? What are the steps? What are the events driven batch jobs?

559


Do you know how to debug the tests in selenium ide?

453


What are the assets and liabilities of a bank?

599


what are candidate key, alternate key and composite key? : Sql server database administration

483


I am 36 years old with graduation. Is it possible to get job in international bpo without any experience? Previously i was into my father business and due to some reasons business got shut down.

1376


How to create object without using the keyword “new” in java?

515