Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
and many more ....
I agree to the Terms and Privacy Policy

Eclipse Project Licenses

While it’s true that most Eclipse projects use the Eclipse Public License, many Eclipse open source projects use alternative licenses either alone or in combination. The chart below shows the relative use of various license schemes by Eclipse open source projects: Note that we use SPDX expression. In SPDX, license combinations are expressed from the consumer’s point of view, so ...

Read More »

[MEGA DEAL] The Machine Learning Mastery eBook Bundle (91%)

Supercharge Your Machine Learning Skills & Effectively Develop AI Programs with 10 eBooks from Packt Publishing Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 91% off on The Machine Learning Mastery eBook Bundle. Get it now with only $19,99, instead of the original price of $223,90 Machine learning ...

Read More »

Revolutionary Evolution

Here is the question I keep hearing almost every time I speak at a conference about object-oriented programming and my non-traditional understanding of it: “How do I convince the whole team to start doing everything so differently?” (asked here just recently). Indeed, it’s easy to change your coding habits and your software design if you are alone. What do you ...

Read More »

Visual Studio Code vs IntelliJ IDEA – Which is best for Java devs?

When you spend more time in front of your code than you do with your family, you can officially call your IDE (Integrated Development Environment) “home”. Most developers invest quite a bit of time and energy in customizing their digital work environment with plugins, modules, and eye-friendly color themes. After all, it’s where they “live”.  If your IDE is your ...

Read More »

Reverse a String in Dart

In this article, we will look at string reversal in Google’s Dart language. How to Implement the Solution Below is the completed Dart solution: 1 2 3 4 5 6 void main(List<String> args) {     print( reverse(args[0]) ); } String reverse(input) {     return input.split('').reversed.join(); } Much like C or Java, Dart uses the function name main as an entry point for ...

Read More »

Test Setup is Somewhere Else

What to Expect of a Test Case It prepares some scenarioIt executes the system under testIt makes some concrete assertions of an answer that was predicted at the time the test was constructed What if you see… Here’s a test. It’s in Java, but it might be in any language. 1 2 3 4 @Test void theOperationIsSuccessful() {     assertTrue(service.isLastOperationSuccessful()); } ...

Read More »

Six More JEPs Proposed for JDK 14

A recent Mark Reinhold message announces six new “JEPs proposed to target JDK 14”: JEP 345, JEP 361, JEP 363, JEP 364, JEP 365, and JEP 367. Assuming no objections are made by November 7, these JEPs will be targeted to JDK 14 along with previously targeted JEPs JEP 349 (“JFR Event Streaming”), JEP 352 (“Non-Volatile Mapped Byte Buffers”), and ...

Read More »

Java 13: Enhancements to Switch Expressions

You may remember from my previous post that, in Java 12, the traditional switch statement was enhanced so that it could be used as an expression. In Java 13, there has been a further change to this feature. The break statement can no longer return a value. Instead, you have to use the new yield statement, as shown below: 01 ...

Read More »

AtomicInteger on Java and Round-Robin

java-interview-questions-answers

AtomicInteger belongs to the family of Atomic Variables. The main benefit is that using it, is not blocking instead of doing a blocking synchronization, thus you avoid the suspension and rescheduling of thread. The AtomicInteger is based on the Compare and Swap mechanism and is part of the scalar group of the atomic variables. Our first use case would be a ...

Read More »