Java comes with a far larger default library, which greatly contributes to concise code. Of course, you can use libraries with C too.