Learn Java, Programming, Spring, Hibernate throw tutorials, examples, and interview questions
Saturday, December 31, 2022
10 Tools Every Software Developer/Programmer Should Learn in 2024 [UPDATED]
Friday, December 30, 2022
Top 22 Libraries and APIs Java Developer should Learn in 2024 [UPDATED]
Wednesday, December 28, 2022
Top 6 Career Options for Experienced Java Developers in 2024 [UPDATED]
10 Tools Used by Java Programmers in Day to day life [UPDATED for 2024]
Thursday, December 22, 2022
Top 5 Christmas and New Year Gifts for Programmers and Developers in 2024 [UPDATED]
Wednesday, December 7, 2022
Is Java Pass by Value or Pass by Reference? Example
Monday, November 28, 2022
3 ways to convert String to Boolean in Java? Examples
Wednesday, September 21, 2022
Difference between CAST, CONVERT, and PARSE SQL Server? Example Tutorial
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 @MockBean annotations while testing your Spring Boot application. Both annotations generate fake or Mock objects, but for different reasons and its important for Java and Spring Boot developer to know the correct difference and when to use @Mock and @MockBean while writing tests. It's possible that this will seem perplexing at first, in face I was confused for a long time until I did my research and cleared it up. But, you don't need to scan through internet, In this blog article, I'll clear up any misunderstandings and clarify the difference between @Mock and @MockBean when testing Spring Boot apps.
Saturday, August 27, 2022
Difference between State and Strategy Design Pattern in Java
Decorator Design Pattern in Java with Example Java Tutorial
Data Access Object (DAO) design pattern in Java - Tutorial Example
Thursday, August 25, 2022
How to Convert a Map to a List in Java - Example Tutorial
Wednesday, August 24, 2022
How to use mkdir command to make directories in Linux and UNIX? mkdir -p Example
Tuesday, August 23, 2022
How hostname to IP address Conversion works in Linux? nslookup Example
Monday, August 22, 2022
How to Delete Empty Files and Directories in UNIX or Linux Host? find Command Example
Saturday, August 20, 2022
Difference between HashMap, LinkedHashMap and TreeMap in Java with Example
Friday, August 19, 2022
4 Example to Iterate over Map, HashMap, Hashtable or TreeMap in Java
How to get Key From Value in Hashtable, HashMap in Java? Example
10 Examples of HashSet in Java - Tutorial
Thursday, August 18, 2022
Difference between HashMap and IdentityHashMap in Java? Example
Difference between bitwise and logical AND, OR Operators in Java? Examples
What is NavigableMap in Java ? TreeMap, headMap, tailMap, and subMap Examples
Wednesday, August 17, 2022
Why use SerialVersionUID inside Serializable class in Java? Example
Monday, August 15, 2022
Object Oriented Programming Example in Java? Tutorial
Difference between Class, Instance and Local variables in Java? Example
Friday, August 5, 2022
Difference between Checked vs Unchecked Exception in Java? Example
[Solved] How to solve java.lang.UnsatisfiedLinkError: no ocijdbc11 in Java with Oracle 11g, 12c, 19c and 21c
Thursday, August 4, 2022
How to fix java.lang.UnsupportedClassVersionError: Bad version number in .class files? Example
How to Fix Must Override a Superclass Method Error Eclipse IDE Java | @Override annotation with interface methods
How to fix "No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK" in Eclipse & Maven?
How to fix java.sql.SQLException: Invalid column index? Example
FIX Session is not connecting how to diagnose it? Example Tutorial
Saturday, July 30, 2022
10 Free Web Development Courses for Beginners in 2024 - Best of Lot
Friday, July 29, 2022
How to use ArrayList in Java? 10 Examples of ArrayList
Top 10 Free Spring Boot and Spring Framework Courses in 2024 - Best of Lot
Wednesday, July 27, 2022
How to find current directory in Java with Example
How to read from and write to a text file in Java - Example Tutorial
How to append text into File in Java – FileWriter Example
How to Copy a File in Java Program - Example Tutorial
How to read File into String in Java 7, 8 with Example
Tuesday, July 26, 2022
Top 5 Free and Paid OCAJP, OCPJP Mock Exams and Practice questions - (Java Certification)
Sunday, July 24, 2022
How to read a File in One Line in Java? Files.readAllLines() Example Tutorial
Java 8 - Stream FlatMap Example - List of Lists to List
How to convert java.util.Date to java.sql.Date - JDBC Example
Saturday, July 23, 2022
How to convert String to Date in Java - SimpleDateFormat Example
How to Convert Date to String in Java with Example
How to convert Date to LocalDate and LocalDateTime in Java 8 - Example Tutorial
17 Examples of Calendar and Date in Java - Tutorial
Thursday, July 21, 2022
10 Difference between Java and JavaScript for Programmers
How to get current URL, parameters and Hash tag using jQuery and JavaScript? Example
Tuesday, July 19, 2022
Top 10 Free NFT (Non Fungible Tokens) Courses for Beginners in 2024 - Best of Lot
Hello guys, if you want to learn about NFTs or Non Fungible Tokens and looking for best free online courses then you have come to the right place. Earlier, I have shared best paid NFT courses and in this article, I am going to share best free NFT courses for beginners, Bu, before we get to the 10 best free NFT courses that will teach you everything you need to know about this exciting new technology, let me tell you what it really is. NFTs, also known as Non-Fungible Tokens, are basically unique cryptographic tokens. These tokens exist in a blockchain, which means that they cannot be replicated. Each NFT has a unique identification and metadata.
Monday, July 18, 2022
How to format/parse dates with LocalDateTime in Java 8 - Example Tutorial
Difference between Period and Duration class in Java 8? [Example]
Friday, July 15, 2022
What is Double Brace Initialization in Java? Example Initializing HashMap and List with values in Java
Wednesday, July 13, 2022
Top 5 Courses to Learn Kali Linux in 2024 - Best of Lot
Monday, July 11, 2022
Top 6 Free Courses to Learn Scala and Functional Programming in 2024 - Best of Lot
Sunday, July 10, 2022
Top 5 Online Courses to Improve Email and Workplace Writing Skills in 2024 - Best of Lot
Top 5 Courses to learn iOS and Swift for Beginners in 2024 - Best of Lot
Saturday, July 9, 2022
Top 5 Courses to Learn JavaFX Online in 2024 - Best of Lot
Friday, July 8, 2022
Top 5 Courses to Learn WordPress for Beginners in 2024 - Best of Lot
Thursday, July 7, 2022
Right way to Close InputStream and OutputStream in Java - Example
Wednesday, July 6, 2022
Top 7 advanced Microsoft Excel Courses to Learn Macros and VBA in 2024 - Best of Lot
Top 5 Courses for CompTIA Network+ certification (with Practice Tests) in 2024 - Best of Lot
Top 15 Java String interview Question Answers for 3 to 5 Years Experienced
String interview questions in Java is one of Integral part of any Core Java or J2EE interviews. No one can deny the importance of String and how much it is used in any Java application irrespective of whether it's core Java desktop application, web application, Enterprise application or Mobile application. The string is one of the fundamentals of Java programming language and correct understanding of String class is a must for every Java programmer. What makes String interview questions in Java even more interesting is the special status of String in terms of features and privileges it has like the + operator is kind of overloaded to perform String concatenation despite the fact that Java does not support operator overloading. There is a separate String pool to store String literal etc.
How to compare two String in Java - String Comparison Example
Top 5 Courses & Practice Tests to Crack CompTIA Security+ Certification (SY0–601) in 2024 - Best of Lot
Which is the best course to Learn Spring Security 5 and Spring Data JPA for Java Programmers?
Saturday, July 2, 2022
How to Remove First and Last Character of String in Java - Example Tutorial
How to get first and last character of String in Java - Example
How to check if String is not null and empty in Java? Example
Wednesday, June 29, 2022
How to implement Command Design Pattern in Java with Example
How to sort an Array in Java? Ascending and Descending Order Example
How to loop through an Array in Java? Example Tutorial
How to declare and initialize a List with values in Java (ArrayList/LinkedList) - Arrays.asList() Example
Tuesday, June 28, 2022
How to implement Skip List in Java? Example Tutorial
Hello friends, we meet again today. hope you all are excited and ready for today's journey. Today, we are gonna learn something that is not very common. It is used not very common, but, if used, it is a great strength to our time complexity reduction. So, what's the wait? Let's start! So, suppose we have a linked list with us which has 10 million records. Now, for searching a particular node, the time taken would be O(N). Where N is the size of the list. Similarly, the time taken for deletion of a Node, Insertion at a particular Node will also take O(N) time. Can we reduce it?