Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

is Generics in Java the same as Templates in C++

793927Aug 16 2002 — edited Aug 28 2002
Hi,
i am new to java, and i am wondering if generic classes the same as Templates in C++ ?
where can i get specific info from the site about how to use them ?
thanks

Comments

807591
does the program not print "executing cmd" ?
ok, first, what do you think should happen, and second, what is happening really?

you arent doing anything with the input and output streams of your program.. so i dont know what you expect
807591
I should have been thinking about it a little bit longer. After I added a
waitFor()
and redirected the output as it is described in the article I posted the link to, everything worked as it should.
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 25 2002
Added on Aug 16 2002
5 comments
150 views