My Online Exams
My Programs
My Favourites
Scrap Book
Edit Profile
Profile Log
Profile Picture
Email Alert
Security Settings
Signature
My Resource
Logout
Programs
Experts
Community
Question
Online Exam
Resource
Link Gallery
Members
Search
Login
Username:
Password:
New user? Sign up
Forgot Password?
Notice
New Category Started
Question, Resource &
Rich Text Editor
for content text input
Invite Friends
Email
*
Firstname
*
Lastname
Question by swarnava
swarnava
public class st{
public static void main(String args[]){
String ss1=new String("ABC");
String ss2=new String("ABCD");
String s1="ABC";
String s2="ABCD";
System.out.println((ss1==ss2));
System.out.println((s1==s2));
System.out.println((ss1.equals(ss2)));
System.out.println((s1.equals(s2)));
}}
tell me the output with justified reason
15th May 10 05:56:32 PM
Answers by other users
No Answer Found
Post Asnwer
Tips:
Please don't post a answer which is already their for the question.
You can post puzzle related question along with programming questions.
© Scodz, 2006 All Rights Reserved.
Guest Book
|
FAQ
|
Privacy Policy
|
Terms & Conditions
|
Contact Us