1)semicolons after each statement are optional.
2)if you are using multiple statements in the same line then semicolon required or not
3)Space on both sides of an operator should be equal
4)syntax of multiple variables −
5) what is Type annotation
6)syntax to declare multiple constant
difference-between-let-and-var-in-swift
7)Difference between let and var
difference-between-structclass-and-enum
8)classify different kind of data type
9) what are the user defined data type, collective data type and derived data type
10.Difference between struct,class and Enum and When to Use Which to create project for developer
11) why init fun is need to declare in class compulsory but for struct not compulsory
12.swift is type safety programming language
13.Type inference is a special feature of Swift language
different way to create string 2 way
14.difference between mutable and immutable string
15.how to modify or concatenate two string
16.how to insert into string literal or meaning of string interpolation
17syntax to determine string length
18 string comparision operator syntax
19.how to get index of each char from given string using enumerated
20.difference between enumerated and foreach function
21.how to determine given string starts or ends with specified string
22.how to remove whole char of string,first char of string or last char of string, or range of specified char
23.how to reverse the char
- purpose of type alias
Tuples can store multiple values of the same or different data types, separated by commas.
how to access and modify tuple value
how to Assigning tuple to a set of constants
syntax for assigning names to a tuples elements
what is named tuple and nested tuple
how to add or modify elements of named tuple
swift_arrays
how to adding new element in existing array
how to get index of each elements of array
how to adding two array
how to accessing and modifying dictionary
how to removing key value pair
how to removing all at once
how to apply filter in existing dictionary
Top comments (0)