Q:

Declaring vs Defining - Java

What is the difference between declaring and defining in Java.
I am trying to find an proper answer, but I'm not able to get one.
Please explain.

A:

String str; //declaraing
str = "My String"; //defining

