
Optional Code
@OptionalCode
Followers
4
Following
94
Media
40
Statuses
95
Learn to code with industry experts. Personal coaching | Webinars | Seminars DM us for inquiries! đź“© Primary Contact: @one_narendra
India
Joined May 2022
Spring Profiles – Environment-Specific Config Made Easy!. #spring #java #springboot #springprofiles #developer #softwaredeveloper #softwareengineer #programmer #coding #development #code #tech #technology #computerscience #optionalcode #interview #developerlife #codinglife
0
1
2
RT @OptionalCode: @Autowired + @Primary + @Qualifier — Resolving Ambiguity in Spring DI. #spring #java #springboot #javaprogramming #develo….
0
1
0
RT @OptionalCode: Stereotype Annotations in Spring — Simplifying Component Definitions!. #spring #java #springboot #javaprogramming #coding….
0
1
0
Stereotype Annotations in Spring — Simplifying Component Definitions!. #spring #java #springboot #javaprogramming #codinglife #developer #softwaredeveloper #softwareengineer #programmer #coding #development #tech #technology #computerscience #developerlife #optionalcode
0
1
2
@SpringBootApplication – One Annotation to Rule Them All!. #java #spring #springboot #developers #developer #programming #coding #code #softwaredeveloper #softwareengineer #tech #technology
0
0
1
Use @Bean to register external classes in Spring!. #java #spring #springboot #bean #configuration #dependencyinjection #thirdparty #developers #developer #programming #coding #code #softwaredeveloper #tech #technology #development #computerscience #codinglife #optionalcode
0
1
2
Component Scan in Spring – How does Spring find your Beans?. #java #spring #springboot #componentscan #annotations #dependencyinjection #beans #autowiring #developers #developer #programming #coding #code #softwaredeveloper #softwareengineer #technology #tech #computerscience
0
1
2
Bean Scopes in Spring – What, Why, and When?. #java #preparation #engineering #corporate #instadaily #instagood #like #follow #programmer #developerlife
0
1
1
Inversion of Control in Spring – with ApplicationContext & BeanFactory. Spring implements IoC using BeanFactory and ApplicationContext. #java #springboot #developers #programming #coding #code #softwaredeveloper #softwareengineer #tech #technology #development #computerscience
0
1
1
Constructor vs Setter Injection in Spring – What’s the difference? n What do you prefer?. #java #spring #dependencyinjection #springboot #coding #developers #optionalcode #interview #preparation #engineering #daily #corporate #programming #like #follow
0
1
2
Want to exclude Tomcat from Spring Boot starter-web?. #java #springboot #web #tomcat #interview #preparation #developers #coding #engineering #optionalcode #daily #corporate #programming #instagood #instadaily #like #follow
0
1
2
Spring vs Spring Boot — Which one’s better & why?. #java #spring #springboot #coding #developers #engineering #optionalcode #interview #preparation #programming #daily #corporate #instagood #instadaily #like #follow
0
1
1
Master se Main tak ka safar – GitHub ka naya chapter!. Oct, 2020 - GitHub changed its default branch from master to main to promote inclusivity and better naming. Same Git, new mindset!. #java #coding #github #git #developers #engineering #optionalcode #interview #preparation
0
0
0
Does an exception thrown from finally override the one from try? 🤔 Yes! ❌ The finally exception replaces the try exception, potentially hiding the original issue. Always handle exceptions carefully! 🚀 #java #coding #interview #preparation #optionalcode #javainterview
0
1
2
Can we catch Errors like Exceptions? 🤔 Yes, but should you? ❌ . Errors (e.g., OutOfMemoryError, StackOverflowError) indicate serious issues and shouldn’t be caught—fix the root cause instead! 🚀 . #java #coding #interview #preparation #optionalcode #javainterview
0
0
0
✔ throw – Used to explicitly throw an exception (e.g., throw new NullPointerException();). ✔ throws – Declares that a method might throw exceptions (e.g., void method() throws IOException {}). #java #coding #interview #preparation #optionalcode #javainterview #exceptions
0
1
1
✔ ClassNotFoundException – Occurs when a class is not found at runtime.✔ NoClassDefFoundError – Happens when a class was available at compile-time but missing at runtime due to deletion or loading issues. #java #coding #interview #preparation #optionalcode #javainterview
0
1
1
Does System.exit(0) in try let finally execute? ❌ . No! JVM terminates immediately, skipping finally block execution. 🚀 . #java #coding #interview #preparation #optionalcode #javainterview #exceptions #engineering #daily #corporate #programming
0
1
1
Can we catch an exception thrown from a static block? 🤔 . No, it must be handled inside the block itself—otherwise, the class won’t load! 🚀 . #java #coding #interview #preparation #optionalcode #javainterview #exceptions #engineering #daily #corporate #programming
0
1
1
Can we catch NullPointerException in a catch block? 🤔 Yes, but should you? ❌ . Handling it hides bugs—fix the root cause instead! 🚀 . #java #coding #interview #preparation #optionalcode #javainterview #exceptions #engineering #daily #corporate #programming
0
1
1