You can build all you want in both. But your way of programming will be vastly different.
Static type mean that you have contracts. So you have some kind of errors already wiped out, because you won't compile the other way. Globally, you know who you are calling this method of an objet of this class.
In dynamic typing, commonly called duck typing, you care less about the class of your object. You care about the "message" it can send. You just care he got the method you call.
You can partially do this in static type langage thanks to polymorphism or interfaces. The difference is mostly that, you don't program the same way. So both way have some merits and drawbacks.
Dynamic langages usually focus more on what you do than how you do this. So the intent of the programmer is clearer, but it can leads to pretty annoying bugs or an harder understanding of how the programme really work.
Globally, it is a bit easier to abstract things in dynamic langages than in static types, but it comes at the cost of slower code.
Understand, you achieve the same things, maybe even the same way (thanks to var, or dynamic types in static, polymorphism, interface, ...).
Dynamic typing offer more elegant code ..... or ugyier code, depending on the programmer. In static typing, there is less magic, and often one true way. So your code won't be as elegant than a good dnamic typing code, but you will see way less horrors.
A good comparison is java versus ruby. Java offer one true way, static typing, fast langage, but is ugly to some people, because you are bothered with trivial questions about types, contracts, ect .... Code is less beautiful, but interns are also restricted in the horrors they may produce.
Ruby on the other way, is known as elegant, slow ( no longer that true, same order than php and python, now), you have many ways to do things. So an expert may produce so pretty art, elegant and readable code, in wa fewer lines, withouth bother the reader with trivial questions about types. But you are also free to produce the uglyier code ever wrote, that nobody including yourself can understand.
In dynamic typing, you have more fredom, some may say more power, more productivity, but this comes at a price. You have to be self-disciplined, and you will suffer from the horrors wrote by a noob.
So no style is really superior to the other.