Javarevisited

Learn Java, Programming, Spring, Hibernate throw tutorials, examples, and interview questions

Wednesday, December 7, 2022

Is Java Pass by Value or Pass by Reference? Example

›
Hello guys, Does Java is pass by value or pass by reference is one of the tricky Java questions mostly asked on both beginner and exp...
16 comments:
Wednesday, September 21, 2022

Difference between CAST, CONVERT, and PARSE SQL Server? Example Tutorial

›
Though all three, CAST, CONVERT, and PARSE are used to convert one data type into another in SQL Server, there are some subtle differences ...
Tuesday, August 30, 2022

Difference between @Mock and @MockBean in Spring Boot? Example Tutorial

›
Hello guys, if you are writing test for your your Spring Boot application then Sooner or later, you'll come across @Mock and...
Saturday, August 27, 2022

Difference between State and Strategy Design Pattern in Java

›
Hello guys, if you are wondering what is difference between State and Strategy pattern in Java then you are at the right place. In order to ...
5 comments:

Decorator Design Pattern in Java with Example Java Tutorial

›
Hello guys, if you want to learn about Decorator design pattern in Java then you are at the right place. I was thinking to write on de...
12 comments:

Data Access Object (DAO) design pattern in Java - Tutorial Example

›
Data Access Object or DAO design pattern is a popular design pattern to implement the persistence layer of Java application. DAO pattern i...
8 comments:
Thursday, August 25, 2022

How to Convert a Map to a List in Java - Example Tutorial

›
Hello guys, if you are wondering how to convert a Map like HashMap or TreeMap to a List like ArrayList or LinkedList in Java then you are ...
3 comments:
Wednesday, August 24, 2022

How to use mkdir command to make directories in Linux and UNIX? mkdir -p Example

›
One of the most common tasks in any Linux is creating directories, and most of us spend a lot of time creating complex directory structures...
5 comments:
Tuesday, August 23, 2022

How hostname to IP address Conversion works in Linux? nslookup Example

›
One of my favorite Linux Interview questions is about how to convert hostname to IP address in Linux? These questions not just test the ca...
6 comments:
Monday, August 22, 2022

How to Delete Empty Files and Directories in UNIX or Linux Host? find Command Example

›
Deleting empty file and directory in Unix Hello guys, if you are wondering how to find and remove all empty files and directories from a...
3 comments:
Friday, August 19, 2022

4 Example to Iterate over Map, HashMap, Hashtable or TreeMap in Java

›
There are multiple ways to iterate, traverse or loop through Map, HashMap, or TreeMap in Java and we are all familiar with either all of...
20 comments:

10 Examples of HashSet in Java - Tutorial

›
HashSet in Java is a collection that implements the  Set interface and is backed by a HashMap . Since HashSet uses HashMap internally...
8 comments:
Thursday, August 18, 2022

Difference between bitwise and logical AND, OR Operators in Java? Examples

›
Java beginners often ask the same type of questions, and of them is what is the difference between & and && operator in Java o...
2 comments:

What is NavigableMap in Java ? TreeMap, headMap, tailMap, and subMap Examples

›
Hello guys, if you are wondering what is NavigableMap and why should Java developer know about it you are at right place.  NavigableMap in ...
Wednesday, August 17, 2022

Why use SerialVersionUID inside Serializable class in Java? Example

›
Serialization and SerialVersionUID always remain a puzzle for many Java developers. I often see questions like what is this SerialVersionUI...
7 comments:
‹
›
Home
View web version

Contributors

  • SimpleJava
  • javin paul
Powered by Blogger.