Difference between Stack and Queue?
Stack is a Last In First Out (LIFO) data structure.
Queue is a First In First Out (FIFO) data structure
More answers plzz...write in comments
Showing posts with label abstract class and interface difference in java. Show all posts
Showing posts with label abstract class and interface difference in java. Show all posts
What difference between cmp and diff commands
What difference between cmp and diff commands
cmp - Compares two files byte by byte and displays the first mismatch
diff - tells the changes to be made to make the files identical
cmp - Compares two files byte by byte and displays the first mismatch
diff - tells the changes to be made to make the files identical
Difference between an Interface and an Abstract class?-Java faqs
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. Moreover, an interface has all public members with no implementation. On the other hand, an abstract class is a class which may have the usual flavors of class members (private, protected, etc.), but has some abstract methods.
Subscribe to:
Posts (Atom)