What is the difference between Abstract Class and Interface
Answer Posted / guest
An abstract class can have instance methods that implement a
default behavior. An Interface can only declare constants
and instance methods, but cannot implement default behavior
and all methods are implicitly abstract. An interface has
all public members and no implementation. An abstract class
is a class which may have the usual flavors of class members
(private, protected, etc.), but has some abstract methods.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why chararray() is preferred over string to store the password?
What is Java Annotations?
What are the different data types in java?
What does flagged out mean?
What is the difference between a local variable and an instance variable?
how to deploy apache tomcat server to weblogic server in java
Why are pointers not secure?
What are keywords in java?
What is skeleton and stub? What is the purpose of those?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
What is command line argument in java?
What is difference between pointer and reference?
Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain
Explain about wait() method?
What is bufferedwriter?