📄️ 1. Java Types
In Java, data types are divided into two main categories: Primitive Types and Reference (Object) Types. Understanding these types is crucial for effective programming in Java.
📄️ 2. Java Modifiers
Java modifiers are keywords that you use to change the behavior and accessibility of classes, methods, and variables. They are classified into two categories: Access Modifiers and Non-Access Modifiers.
📄️ 3. Methods in Java
Methods are a fundamental part of Java programming, enabling code reusability, modularity, and organization. They are blocks of code that perform a specific task and can be called upon when needed.
🗃️ Spring
4 items
📄️ 4. Java Memory
Java memory management is a crucial aspect of Java programming, affecting how data is stored, accessed, and managed during the execution of a Java program. The Java memory model consists of several components, including the stack, heap, garbage collector, and caches.
📄️ 5. List :vs: Set :vs: Map
List, Set and Map are the interfaces which implements Collection interface. Here we will discuss difference between List Set and Map in Java.
📄️ 6. Lambdas and Funtional Interfaces
1. Lambda Expressions
📄️ 7. Java Streams Overview
Java Streams are a powerful feature introduced in Java 8 that simplify processing sequences of elements, such as collections, arrays, or I/O channels. Streams allow you to perform operations like filtering, mapping, and reducing in a more declarative and functional programming style. Unlike collections, streams do not store elements; instead, they convey them from a source and process them through a pipeline of intermediate and terminal operations.
🗃️ Hibernate
10 items
📄️ 8. Optionals in Java
Optional is a container object introduced in Java 8 that may or may not contain a non-null value. It helps in avoiding null references and the associated NullPointerException.
🗃️ Java 8+
12 items
📄️ 9. Generics in Java
Generics is a feature in Java that allows you to define classes, interfaces, and methods with a placeholder for types, enabling stronger type checks at compile-time and eliminating the need for type casting.
📄️ 10. Reflection in Java
Reflection is a powerful feature in Java that allows you to inspect and manipulate classes, methods, fields, and other components at runtime, even if they are private or protected.
📄️ 11. Multithreading in Java
Multithreading in Java allows concurrent execution of two or more threads to maximize CPU utilization. It is a key feature for improving the performance of applications, especially in I/O-bound or CPU-bound tasks.
📄️ 12. Mutex in Java
A mutex (short for mutual exclusion) is a synchronization mechanism used to control access to a shared resource by multiple threads. A mutex allows only one thread to access a resource at any given time, preventing race conditions and ensuring data integrity.
📄️ 13. Synchronization Mechanisms in Java
Java provides several synchronization mechanisms to manage access to shared resources in a concurrent environment. Below are some commonly used mechanisms:
📄️ 14. Exception Handling in Java
Exception handling in Java is a powerful mechanism that allows developers to handle runtime errors gracefully, improving program stability and user experience.
📄️ Java
Java is a class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let application developers write once, run anywhere (WORA), meaning that compiled Java code can run on all platforms that support Java without the need for recompilation. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture.
📄️ JAVA QUIZZ 1
1. What will be the output when executing this main?
📄️ JAVA QUIZZ 2
1. Static functions can be accessed using null reference.
📄️ JAVA TIPS
Searching element in array