fasak_vachadu Posted June 7, 2019 Report Posted June 7, 2019 1 minute ago, DrBeta said: I don't know anything about programming, but 10th class C language thought me that string should take in the characters and compare. Obviously @vendettaa and @AleAle aren't the same. Shouldn't you compare IP addresses instead? how ipaddress ela compare cheyali ?? dr garu Quote
DrBeta Posted June 7, 2019 Report Posted June 7, 2019 Just now, fasak_vachadu said: how ipaddress ela compare cheyali ?? dr garu I don't know, you're the computer guy, not me. Quote
fasak_vachadu Posted June 7, 2019 Report Posted June 7, 2019 2 minutes ago, DrBeta said: I don't know, you're the computer guy, not me. DrBeta ji ..... i am not a networking guy or hacker..... i am a programmer Quote
sairamnfdb Posted June 7, 2019 Report Posted June 7, 2019 8 minutes ago, Paidithalli said: True bro ... neeku mem unnam afdb Lo ... we are also balayya fans Quote
Amrita Posted June 7, 2019 Report Posted June 7, 2019 8 minutes ago, fasak_vachadu said: String a = " @vendettaa " ; String b = " @AleAle "; if ((a == b)&&(a.equalto(b)){ syso(" both are same"); } else { syso("different people ids"); } a==b checks if objects are same Two string values comparision ki .equals() use cheyali bro . Quote
fasak_vachadu Posted June 7, 2019 Report Posted June 7, 2019 1 minute ago, Amrita said: a==b checks if objects are same Two string values comparision ki .equals() use cheyali bro . nenu expect chesa meeru vastharu ani ... yup Quote
fasak_vachadu Posted June 7, 2019 Report Posted June 7, 2019 program kadu aha code rasetappude pakka amirta will come (reply) ani anukunnanu aha if cond deggare i mean manasulo anukunnanu akka.... promise Quote
Amrita Posted June 7, 2019 Report Posted June 7, 2019 3 minutes ago, fasak_vachadu said: nenu expect chesa meeru vastharu ani ... yup 2 minutes ago, fasak_vachadu said: program kadu aha code rasetappude pakka amirta will come (reply) ani anukunnanu aha if cond deggare i mean manasulo anukunnanu akka.... promise OCD rogam please excuse Quote
fasak_vachadu Posted June 7, 2019 Report Posted June 7, 2019 daily nee payceck ki dandam pettukutunanu 2 minutes ago, Amrita said: OCD rogam please excuse last 1 week nuchi daily taluchukutunanu .... 1 Quote
DrBeta Posted June 7, 2019 Report Posted June 7, 2019 8 minutes ago, fasak_vachadu said: DrBeta ji ..... i am not a networking guy or hacker..... i am a programmer I don't know vuncle. It all sounds the same to me. Quote
Paidithalli Posted June 7, 2019 Report Posted June 7, 2019 9 minutes ago, Amrita said: a==b checks if objects are same Two string values comparision ki .equals() use cheyali bro . Str.compareTo() kuda vadocchu Quote
Amrita Posted June 7, 2019 Report Posted June 7, 2019 10 minutes ago, Paidithalli said: Str.compareTo() kuda vadocchu Yes vadachu but if you use compare to with null it throws null pointer so .equals is efficient as it returns false. Also compare to works only on objects which implement comparable interface . 1 Quote
fasak_vachadu Posted June 7, 2019 Report Posted June 7, 2019 10 minutes ago, Amrita said: Yes vadachu but if you use compare to with null it throws null pointer so .equals is efficient as it returns false. Also compare to works only on objects which implement comparable interface . naku apptlo intrview question idi diffrence between comparable() and comparator() Comparable vs Comparator. Comparable interface can be used to provide single way of sorting whereasComparator interface is used to provide different ways of sorting. For using Comparable, Class needs to implement it whereas for using Comparator we don't need to make any change in the class. 1 Quote
Amrita Posted June 7, 2019 Report Posted June 7, 2019 Just now, fasak_vachadu said: naku apptlo intrview question idi diffrence between comparable() and comparator() Inka kodataru manam e thread ni java discussion cheste mana pamula thread lo matladukundam Quote
whatsapp Posted June 7, 2019 Report Posted June 7, 2019 3 minutes ago, Amrita said: Inka kodataru manam e thread ni java discussion cheste mana pamula thread lo matladukundam Please get our of vendetta thread not of your type of place .. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.