Java Basics: Exceptions

When I started programming, I would get nervous seeing exceptions and errors pop up in my code, but now that I better understand Java I can write these exceptions myself! What happens in Java is that when an exception occurs, or is thrown, the program’s normal pace is terminated and it instead marks the exception …

Angular Interview Questions

I will be making a list of intermediate to advanced interview questions, then listing their answers here. What is Angular? Why use Angular? What is Angular used for? What are Angular components? What are Angular expressions? What are Angular templates? What are Angular directives? In Angular, what is string interpolation? In Angular, what’s different between …

Spring Boot Interview Questions

I will be making a list of intermediate to advanced interview questions, then listing their answers here. What is the difference between Spring and Spring Boot? How would you connect a database to Spring Boot? How do we persist/retrieve data with Spring Boot? Here are my answers! Spring Framework is a great place to build …

MySQL 202 Interview Questions

I will be making a list of intermediate to advanced interview questions, then listing their answers here. Explain the difference between Mongo vs MySQL. What’s the difference between noSql vs SQL? What is a stored procedure? In the context of SQL, what’s Function? Function vs Stored Procedure? How do you configure a database using JDBC? …

Java 202 Interview Questions

I will be making a list of intermediate to advanced interview questions, then listing their answers here. What are Java streams and how would you use them? What are lambda functions and when would you use them? What’s an example of how to use lambda functions with a stream method? What are the different types …

Java Intermediate: ArrayList

Today we’ll be examining ArrayLists. I had once covered arrays, but ArrayLists are different. ArrayLists unlike Arrays are resize-able after creation, making them dynamic and able to adapt to unknown and unexpected size ranges. What exactly are ArrayLists though and what do they look like? ArrayLists are part of the Java Collection framework. The java.util …

Tip: How to Package/Run Spring Boot Maven App as a JAR

Working with the Spring Tool Suite IDE (Integrated Development Environment) over time has taught me much, particularly about using Maven projects. While Gradle is an alternative, I have yet to use it and have been mainly using Maven because of the convenience of its POM.xml file to inject dependencies into my project and mass import …

Java Basics: Polymorphism

I had previously covered one of the four fundamentals of Java programming: Abstraction. Today I am going to cover Polymorphism, based on Greek words “poly” and “morph” compounded into “many forms” from translation. One of my favorite hobbies personally is cooking so I’ll be using that as an example, along with code snippets of course! …

Java Intermediate: Annotations

Once I was driving, but got pulled over by a state trooper. He saw the sticker on my windshield, stating that my car is due for its annual inspection soon. I told him I had an appointment scheduled for this weekend. He understood, letting me go on my way. This officer didn’t know the context …

Design a site like this with WordPress.com
Get started