If there is a deployed contract but the code hidden i think maybe there will be some unknown behavior causing some problem ?
Whether the codes can be forced to be public?
The person that deployed the smart contract does NOT have to make the source code available.
However, the bytecode of EVERY ethereum smart contract is always available and since tokens aren't arbitrarily complex, it is possible to reverse-engineer a token.
So after the address received ether it will automatically send out my coin to the same address based on the dynamic exchange rate ?
Any sample code for this
Contracts MUST always be called and they cannot call themselves so it's impossible for the token to make a transaction by itself without an external call.
Someone made an Ethereum Alarm Clock so you can schedule events to be called later.