EatTheBlocks Forum

Deploying contract that import other contract

Suppose I am importing contract B in contract A with a import statement. Now I want to deploy contract A to a running blockchain, suppose in a testnet. If I deploy contract A only without contract B will that work. Or if I just deploy contract A the source code of contract B will also be deployed?