Codekru

Implementing a Custom Generic Linked List in Java

Linked lists are a fundamental data structure used in computer science, and Java provides its own linked list implementation. However, there may be times when you want to create your own custom linked list. Implementing a custom generic linked list in Java can be a valuable learning experience and provide greater flexibility, performance, and an […]

Implementing a Custom Generic Linked List in Java Read More »

SQL WHERE Clause

It is often required to filter records in the table based on some condition/s. To filter records using these conditions SQL WHERE clause is used. WHERE clause can be used in SELECT, UPDATE, DELETE, etc. statement. In this article, we will learn how to use the SQL WHERE clause in the SELECT statement. SQL WHERE

SQL WHERE Clause Read More »

SQL DISTINCT keyword

SQL DISTINCT keyword is used to retrieve unique ( distinct ) values from the table. If there are duplicate values present for a particular column, then SQL “distinct” keyword can be used to select only the distinct values. SQL DISTINCT Syntax where column1, column2, columnN are the column names of the table. In this post,

SQL DISTINCT keyword Read More »

SQL SELECT statement

SQL Select statement is used to retrieve data from the database. The data is returned in form of a table called a resultset. SQL SELECT Syntax In SQL select statement, we specify list of columns to be fetched from database tables. To select specific columns from table: column1, column2, columnN are the column names of

SQL SELECT statement Read More »

Ambiguity for the null parameter in method overloading

Method overloading is an oops concept where two methods have the same name but different parameters. In method overloading, we can have parameters that can match multiple overloaded methods. In this case, the compiler will select the most specific method and call it. But if there are two specific methods and the compiler cannot decide

Ambiguity for the null parameter in method overloading Read More »

@JsonInclude Jackson Annotation

@JsonInclude annotation is used to exclude properties during object serialization. By default, all properties of a class are included during serialization. But by using the @JsonInclude annotation, we can exclude a few properties during serialization. This annotation can be applied at the field, method, or class levels. @JsonInclude annotation provides us with different options. A

@JsonInclude Jackson Annotation Read More »