Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 9893

what is difference between Action messages and Action errors?

3 14844

What are the steps to do connection pooling in weblogic?

1 7967

what is business delegate?

2 6437

how to use finalize()Method to resources

4 6850

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

2 7471

Diff between C++ and java?

9 11773

what is jndi?

1 4888

what is java bean?where can we use it?

12 29739

what is features of jdk 1.5?

2 13329

different types of threads?

18 56641

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 7470

What is the purpose of premetive data types in java?

2 8135

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

7 14275

What is the basic functionality of DataOutput interface in java?

2 6036

Post New TCS Core Java Interview Questions


TCS Core Java Interview Questions


Un-Answered Questions

What is polymorphism in c sharp?

922


What is the delimiter syntax is PHP's default delimiter syntax

1199


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2580


What are applications of dsp?

967


What is passed by reference and pass by value ?

986


given post order,in order construct the corresponding binary tree

2727


what is the abrevation for JJ in form jj

1907


Can you tell me how to add new column in existing views?how?How is possible?

1372


How can images be made to appear scrolling one over another?

763


How does ejb invocation take place?

969


Explain the remapping method calls in codeigniter.

533


Linux is which kind of operating system?

791


What is execution?

979


What is the difference between the concrete mix design carried out by IS10262 and by ACI method ?

2659


What is system-land-scape of your project?

1016