🧠 Java Interview Question
What is the difference between:
== and .equals() ?
Most beginners answer this wrong.
Can you explain it? ��
#JavaInterview #Java #CodingChallenge
interviewer: explain polymorphism
me internally: I know this I KNOW THIS
me out loud: so basically... objects... can be... multiple things... like a dog is also an animal... you know?
interviewer: ...
CS degree was right there bro #JavaInterview#DevMemes#TechTwitter
Q: What is Super POM?
A: Maven has a hidden default POM called Super POM.
Your project POM inherits from it.
That’s where default plugins & repos come from.
#JavaInterview#Maven#BuildTools
Q: Difference between mvn clean install and mvn clean package?
A:
package → builds JAR/WAR
install → builds + copies artifact to local .m2 repo
Install is for reuse by other local projects.
#JavaInterview#Maven#BuildTools
Interview trap 🚨
“Difference between mvn clean install and mvn clean package?”
If you say
“both create jar”
follow-up coming 😬
#JavaInterview #Maven #BuildTools
If you can’t explain
Maven lifecycle phases in order,
you’re not ready for backend interviews.
validate → compile → test → package → verify → install → deploy
#JavaInterview#JavaDeveloper#DevTwitter