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

In swift what is use of backticks while declaring a variable?

829


What is encapsulation in swift?

817


How does a swift transfer work?

726


How will you define base class?

736


How to declare an empty dictionary in swift?

813


Explain the difference between let and var in swift programming?

824


Do loops swift?

726


Explain functions?

839


What is the synonym of swift?

827


What is difference between weak and strong in swift?

822


What are swift categories?

715


What are the advantages of using swift for ios development?

790


What is race condition in swift?

893


What are the characteristics of switch?

761


Is swift hard to learn?

762