What is the difference between declaring a variable and defining a variable? Ans. In declaration we just mention the type of the variable and it's name. We do not initialize it. But defining means declaration + initialization. Example: String s; is just a declaration while Stri...
See more
Download the Study24x7 App, so you can connect and collaborate.