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

Explain how you define variables in Swift language?

Answer Posted / iosraj

Variables and constants must be declared before they are used. You announce constants with the let keyword and variables with the var keyword. Both variables and dictionaries are described using brackets. For example,

Var Guru99 = “This is Guru99”

Let ksomeconstant = 30

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where can we test the apple iphone apps if we don’t have an ios device?

839


Why do we use swift? Mention some advantages of swift?

903


What is swift? How is it different from objective-c?

881


Is swift a functional language?

920


What is dependency injection in swift?

840


What is an attribute in swift?

914


What is nested function in swift?

969


Does swift support multiple inheritance?

922


How do I add a bridging header in swift?

806


Why swift is safe?

863


What is new features in swift 4.0?

884


What is lazy loading in ios swift?

923


What is mvc architecture in swift?

895


What do you do when you realize that your app is prone to crashing?

931


What is a static variable swift?

910