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

Which is the superclass of all the view controller objects?

763


What is the difference between closure and function in swift?

748


How you define variables in swift?

855


Is multiple inheritance possible in swift?

780


What mechanism does ios support for multi-threading?

719


What is difference between xcode and swift?

849


Explain some design patterns which we normally use during the app development.

857


How multiple line comment can be written in swift?

709


What are functions in swift?

820


What do you mean by initialization?

759


What are ui elements?

750


Is swift dynamic or static?

714


What language is swift most similar to?

717


What is a function in swift?

764


What is static in swift?

877