Abstract and final have nearly opposite meanings. An abstract class must be subclassed, whereas a final class must not be subclassed. If you see this combination of abstract and final modifiers, used for a class or method declaration, the code will not compile.
You may also like to read:
You may also like to read:
- checked and unchecked exception in java
- string[] args parameter in main()
- collection vs collections
- how string is immutable in java?
- difference between == and equals() in java
Hi, I am David the creator of www.springmockexams.com and www.javamockexams.com.
ReplyDeleteI really want to thank you for this post, I am going to share it on all my social media, if you do not mind!
I am also really enthusiast to announce some very exciting news: to celebrate the imminent release of Spring 5 and Java 9 we launched our simulators SALE CAMPAIGN. We lowered the price of our simulators at www.springmockexams.com and www.javamockexams.com for limited time only.
If your audience is interested in accessing OUR PRICE OFFER, they can take a look here http://cm.gy/sme and here http://clktr4ck.com/java
Thanks and check your featuring on our social medias!
David