var name:String = null KOTLIN JAVA ./No Compiler Error var name:String? = null ./Compiler Error on line 2 var nameLength = name.length ./Runtime Error int nameLength = name.length()
Modifier.align(Alignment.TopStart)) Text("B", modifier = Modifier.align(Alignment.Center)) Text("C", modifier = Modifier.align(Alignment.BottomEnd)) } } A B C
can change. • Examples: a. Whether to show a button or not based on some condition. b. Result of fetching the data : Loading, Error, Success. c. Error message when user enters invalid message.