Questions & Answers about Я открыл банку кукурузы для салата.
Because банку is the direct object of the verb открыл (opened).
The basic dictionary form is банка. But in this sentence, I opened what? → банку, so it has to go into the accusative case.
For a feminine noun ending in -а, the accusative singular usually changes:
- банка → банку
- книга → книгу
- машина → машину
So:
- Я открыл банку = I opened a can / jar
Because кукурузы is in the genitive case, not the accusative.
Here, банка кукурузы means a can of corn. In Russian, after a container word like банка (can/jar), the thing inside is often put in the genitive:
- банка кукурузы = a can of corn
- чашка чая = a cup of tea
- бутылка воды = a bottle of water
So the pattern is:
- банка чего? → кукурузы
It is not the thing being directly opened grammatically. The direct object is банку, and кукурузы just describes what kind of can it is.