Login
Register
All Activity
Questions
Unanswered
Tags
Users
Ask a Question
About Us
986
Questions
785
Answers
Interview Preparation mode
beta
Funny Facebook Status
Enter your email address
All categories
SQL Server Interview Questions and Answers
(197)
SSIS Interview Questions and Answers
(54)
SSRS Interview Questions and Answers
(9)
SSAS Interview Questions and Answers
(29)
.NET Interview Questions and Answers
(186)
Oracle Interview Questions and Answers
(122)
Java Interview Questions and Answers
(32)
UNIX Interview Questions and Answers
(47)
Networking Interview Questions and Answers
(17)
MySQL Interview Questions and Answers
(30)
HR Interview Questions and Answers
(237)
General Interview Questions and Answers
(9)
Other Interview Questions and Answers
(8)
Job Openings
(3)
Greenplum Database Interview Questions and Answers
(5)
Can you use abstract classes instead of interfaces?
Nice?
Vote!
You can create an abstract class that contains only abstract methods. On the other hand, you can create an interface that declares the same methods. So can you use abstract classes instead of interfaces?
asked
1 year
ago
in
Java Interview Questions and Answers
by
anonymous
java-interview-questions
ioexceptipon-interview-questions
abstract
methods
class
1 Answer
Nice?
Vote!
Sometimes. But your class may be a descendant of another class and in this case the interface is your only option.
answered
1 year
ago
by
anonymous
Related questions
Nice?
Vote!
1
answer
Can an inner class declared inside of a method access local variables of this method?
asked
1 year
ago
in
Java Interview Questions and Answers
by
anonymous
java-interview-questions
ioexceptipon-interview-questions
variable
methods
Nice?
Vote!
1
answer
What access level do you need to specify in the class declaration?
asked
1 year
ago
in
Java Interview Questions and Answers
by
anonymous
java-interview-questions
ioexceptipon-interview-questions
class
class-declaration
Nice?
Vote!
1
answer
How can a subclass call a method or a constructor defined in a superclass?
asked
1 year
ago
in
Java Interview Questions and Answers
by
anonymous
java-interview-questions
ioexceptipon-interview-questions
methods
constructors
Nice?
Vote!
1
answer
How can you minimize the need of garbage collection and make the memory use more effective?
asked
1 year
ago
in
Java Interview Questions and Answers
by
anonymous
java-interview-questions
ioexceptipon-interview-questions
garbage-collection
Nice?
Vote!
1
answer
When should the method invokeLater() be used?
asked
1 year
ago
in
Java Interview Questions and Answers
by
anonymous
java-interview-questions
ioexceptipon-interview-questions
methods