Conciente Posted April 22, 2009 Share Posted April 22, 2009 Hello, I have a couple of questions: (Java related) 1. What is an interface? What is an abstract class? What are their differences and when is it better to use one or the other? 2. What is the Static attribute? Define it when it is used on a Method. When is it convenient to use the Static attribute? Link to comment Share on other sites More sharing options...
0 tsupersonic Posted April 22, 2009 Share Posted April 22, 2009 By the time it took you to type this thread, you could've found all the answers on google. Link to comment Share on other sites More sharing options...
0 Conciente Posted April 22, 2009 Author Share Posted April 22, 2009 Thanks for you help, greatly appreciated. Link to comment Share on other sites More sharing options...
0 Andre S. Veteran Posted April 22, 2009 Veteran Share Posted April 22, 2009 Obviously assignment questions and you're looking to do a nice copy-paste job. If you can't answer these questions I wonder what you've been doing all semester in your Java class. As for Googling the answers: interface : http://en.wikipedia.org/wiki/Interface_(Java) abstract class & abstract classes vs interfaces : http://java.sun.com/docs/books/tutorial/ja...I/abstract.html static attributes and methods : http://java.sun.com/docs/books/tutorial/ja.../classvars.html (Y) Link to comment Share on other sites More sharing options...
0 tiagosilva29 Posted April 23, 2009 Share Posted April 23, 2009 Roedy Green's Canadian Mind Products Java & Internet Glossary Link to comment Share on other sites More sharing options...
0 Laurë Veteran Posted April 23, 2009 Veteran Share Posted April 23, 2009 If you tried a bit harder you could have easily disguised the fact that you copypasta'd your homework. :rolleyes: I hate to say it, but Google is your friend! As a programmer you need to be skilled in looking things up yourself. When you get onto harder stuff you will have to. Link to comment Share on other sites More sharing options...
Question
Conciente
Hello,
I have a couple of questions: (Java related)
1. What is an interface? What is an abstract class? What are their differences and when is it better to use one or the other?
2. What is the Static attribute? Define it when it is used on a Method. When is it convenient to use the Static attribute?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts