The first one doesn't make sense. You want to call a function, not declare one.
The second one is a function call, but you are passing a type as the argument instead of a value.
Since that would not work in Java either I have now serious doubts that you have even programmed a single line in Java as well.
That has been already been answered several times.
Cheers,
_
Bookmarks