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

What is encapsulation in swift?

840


What is hashable in swift?

805


What are lazy stored properties, and how are they useful?

786


Is singleton thread safe swift?

763


What are structures in swift?

793


What is new features in swift 4.0?

818


What is nested function in swift?

910


How do I create a bridge header in swift 4?

798


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

865


Do swift classes inherit from nsobject?

750


What is swift stand for?

803


What is race condition in swift?

929


What are the different control transfer statements used in swift?

833


What is subscript in swift?

875


What is the purpose of swift?

740