Tag: Java

Java

7 Basic Difference between throw and throws in Java | Example

What is the major and basic difference between throw and throws in Java exception handling? Simple program example explained.

Java

8 Difference between HashMap and HashSet in Java | Examples

What is difference between Hashmap and Hashset in Java. Example, definition, performance and usage (when to use Hashmap and Hashset?).

Java

Java HashSet Example| Methods Explained with Code

Java HashSet example explained with source code. HashSet methods to add, access, remove, read elements and find size.

Java

ArrayList in Java| Example, Methods (Add, Remove Iterate, Sort)

What is ArrayList in Java? Explained with code example. Methods to initialize, add, find length, remove, sort ArrayList object, iterate and replace.

Java

Java HashMap Methods Explained with Code Example | Collections

Java HashMap example explained with code. Accessing key-value using forEach and other HashMap methods. HashMap vs Hash Table.

Java

Java Nested Classes | 4 Inner Types | Real Time Examples

What is Java nested classes? Types of inner classes in java, interface explained with real-time examples and codes.

Java

7 Difference Between Python and Java | Which has More Future Jobs?

What is the difference between Python and Java for a job? Why Python is better than Java. Performance and advantages of learning Python over Java.

Java

10 Features of Functional Programming in Scala | Why Scala over Java?

What are the features of Scala? Functional programming in Scala in detail. What are the applications of Scala? Scala vs Java- what should you learn?

Java

Java 12: New Productive Features and Improvements for Developers

What is new in the latest version of Java? Check out all the Java 12 features and improvements about switch case, garbage collectors- Shenandoah, arm port and many new things…