WHAT IS THE DIFFERENCE BETWEEN ASSIGNMENT AND INITIALIZATION?

Pushpendra Singh

Total Post:240

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

    Post:562

    Points:2810
    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;

      Modified On Mar-26-2018 05:09:36 AM

Answer

NEWSLETTER

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