How to use state Variable for stored values permanently in a contract storage in solidity ?

  How to use state Variable for stored values permanently in a contract storage in solidity ?


pragma solidity ^0.5.0;

contract SolidityTest {

   uint storedData;      // State variable

   constructor() public 

{

      storedData = 10;   // Using State variable

   }

}

Comments

Last 7 Days

How to make a water bottle using the HTML code?

What is < iframe > tag in HTML ?

How to use the datalist tag in HTML?

How to use < data > tag in HTML ? with example