An error has occurred, which probably means the feed is down. Try again later.

Java Code Geeks

  • by Michael Scharhag
    This is just a quick hint if you are programming Kotlin with IntelliJ: In IntelliJ you can ctrl-click on operators to navigate to the operator definition (similar to ctrl-clicking on methods). This also works for the get operator (you can click on the [] brackets) and for ranges (you can click on the dots (..) […]
  • by Ted Vinke
    Anyone who has used Mockito for mocking and stubbing Java classes, probably is familiar with the InjectMocks-annotation. Use this annotation on your class under test and Mockito will try to inject mocks either by constructor injection, setter injection, or property injection. This magic succeeds, it fails silently or a MockitoException is thrown. I’d like to […]
  • by OverOps
    Enterprises today are all about increasing software delivery velocity. But with shorter release cycles, code quality is usually sacrificed. Today’s DevOps and QA teams are under pressure to prevent code defects from escaping into production, yet they need to also manage unprecedented workloads with less time and resources to invest in testing code than ever […]

Java Revisited

  • by javin paul
    "Can a non-static method access a static variable or call a static method" is one of the frequently asked questions on the static modifier in Java, the answer is, Yes, a non-static method can access a static variable or call a static method in Java. There is no problem with that because of static members […]
  • by javin paul
    Hello guys, if you are interested in creative ideas and solutions then you may have heard about the Design Thinking technique. Design thinking is the process of making good products that suit users , and also it is a method for problem-solving by focusing on the people's needs and discovering the best creative solutions that meet these […]
  • by javin paul
    Hello guys, how are you doing? I hope you all are fine and doing good in your life and career. Today, I am going to talk about the Strategy pattern, one of the useful design and coding pattern which will help you to write flexible code. The code which can withstand the test of time […]
  • by javin paul
    Hello guys, I have been talking about AWS certifications for quite some time now and in the past shared how to prepare for AWS Cloud Practitioner, AWS Developer Associate, and AWS Solution architect exam, and today I am going to talking about AWS Certified SysOps Administrator Associate exam. This is probably the hardest associate-level AWS […]
  • by javin paul
    Both StringBuilder are two important classes in Java which represent mutable String i.e. the String object, whose value can be changed. Since String is Immutable in Java, any change or operation on String object e.g. converting it to upper or lower case, adding character, removing a character, or getting a substring, all results in a […]