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...


How to compare two strings in Kotlin?



How to compare two strings in Kotlin?..

Answer / Jitendra Pal

In Kotlin, you can compare two strings using the '==' operator. For example: `if (string1 == string2) { ... }`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Kotlin Interview Questions

Give a syntax for declaring a variable as volatile in Kotlin?

1 Answers  


How many ways to create array in kotlin?

1 Answers  


What are Data classes ? Aren’t they available in Java ?

0 Answers  


List down some kotlin data class built in methods?

1 Answers  


What is the difference between var and val ?

1 Answers  


List the number of constructors available in Kotlin?

1 Answers  


List some of the key modifiers in kotlin?

1 Answers  


Is there any Ternary Conditional Operator in Kotlin like in Java?

1 Answers  


Can we migrate code from Java to Kotlin?

1 Answers  


Which companies use kotlin?

1 Answers  


Explain the use of data class in Kotlin?

1 Answers  


How to make a class data class ?

1 Answers  


Categories