Java_Hokage's profile picture. Let’s change the world one build at a time. I post Java questions. #JavaHokageQuestions

Java Brain Teasers

@Java_Hokage

Let’s change the world one build at a time. I post Java questions. #JavaHokageQuestions

14. Callable and Supplier are functional interfaces. Both are quite similar since they have an abstract, no-argument method that just supply a value. One of this throws an Exception. Which one is it? #Java #JavaHokageQuestions

Callable %63.6
Supplier %36.4

11 vote · Final results


12. You can have a top-level static class. Example (inside StaticClass.java): public static StaticClass {} class NestedClass {} #Java #JavaHokageQuestions


Loading...

Something went wrong.


Something went wrong.