WHAT IS THE DIFFERENCE BETWEEN ASSIGNMENT AND INITIALIZATION?

Pushpendra Singh

Total Post:241

Points:1205
Posted by  Pushpendra Singh
Java 
 4762  View(s)
Ratings:
Rate this:
  1. Amit Singh

    Post:565

    Points:2825
    What is the difference between Assignment and Initialization?

    Assignment can be done as many times as desired where as 
    initialization can be done only once.
    for example
    initialize the value:
    int i;
    i=0;
    Assignment
    i=i i;

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!