Answers

Question and Answer:

  Home  Swift Developer

⟩ Tell us what Is The Difference Between Swift And Objective-c Language?

Swift Programming-

☛ In a swift programming, the variables and constants are declared before use.

☛ In a swift programming, “var” keyword used for variable and “let” keyword for constant.

☛ In a swift programming, no need to end code with semi-colon

☛ In a swift programming, does not require creating a separate interface like Objective-C.

☛ In a swift programming, we can define methods in class, structure or enumeration.

Objective-C Programming-

☛ In objective-C programming, we need to end code with semi-colon

☛ In objective-C programming, we can declare constant as int and variable as NSString.

 212 views

More Questions for you: