In some languages, you don't have to specify the data type.
Dynamically-typed languagesLanguages that support type inference can usually inferfigure out the data type from your usage. For example,
var name = "Ali" is internally typed as a string, because the value is surrounded by quotes.
Some languages don't require you to declare the variable either; the variable is created when it is first used. However, it's considered a best practice to specifically declare your variables, for a number of important reasons; mostly because doing so better expresses your intent.