How to invoke functions or get data in/of a contract from another contract?

I have a contract that creates instances of a contract and now I have to get the data of the newly created contract. Is there a way to do that? This is my contract that creates new contracts: pragma solidity ^0.4.8; contract myFirstContract { address[] public childContracts; uint public idd; string public name1; function newContracts(uint…

Details