In all fairness, all i did was copy your 2nd post and replace // TODO Auto-generated method stub with duck();
I didn't even look at anything else. Good on you figuring out static. =)
Type: Posts; User: Hamenopi
In all fairness, all i did was copy your 2nd post and replace // TODO Auto-generated method stub with duck();
I didn't even look at anything else. Good on you figuring out static. =)
Have you tried:
public class Wamidh {
public static void main(String[] args) {
duck(); //<---
}
public void duck(){