10 Best Laptop for Java Programming in India 2022

Are you in search of the top laptop for java programming and coding? It is one biggest mysteries in eyes of many java programmers. Nobody would like to compromise on technology and quality, especially if you’re making a huge investment, it is important to check out your preferences. There‘re many laptop brands out there that provide a complete range of options for you. Some leading brands are Lenovo, HP, Apple, Dell, Asus, and Acer. With plenty of options in front

Read more

Exception Hierarchy in Java

Whenever any unexpected event like if required Index is more than the array size happens, it results in the stopping of the program. The name of this condition is an “Exception”. There are many types of exceptions occurred in java, and there is a certain hierarchy followed by java. We will be exploring this hierarchy through this blog. “Throwable class” is the topmost class in the hierarchy. It is mainly divided into 2 types which are Exception class and Error

Read more

6 Best Online Java Courses for Beginners in 2022

If you dream to be a programmer, creating apps or learning to code, then Java is the best programming language that you must consider working with. In today’s post, we will check out the best Java courses for beginners and advanced developers. These courses and tutorials can help you learn and improve your java programming skills. Without wasting any time, let us check out some best java courses for beginners: 1. Java Programming Masterclass by Udemy Java Programming Masterclass covering

Read more

Solve Error Java Access Denied FileNotFoundException

In this blog I will be sharing the reasons due to which you are getting Access is denied i.e, File Not Found Exception, and will solve the error as well. So let’s start and solve this error in your system. This error occurs for various reasons, let’s discuss them one by one in detail. 1. Opening or Trying to Read a Folder/Directory It is not possible for the user to see the directory as we do normally and if you

Read more

Custom Iterator in Java with Example

Through this blog, I will be sharing how can we make a custom iterator in Java. Iterators can come in handy in many situations. An iterator is basically an object which can help us to go over a collection, it can serve as an alternative to foreach loop. So let’s explore more about custom iterators and their functionality. Custom Iterators are made when we take a class that is implementing iterator and then we override the functions. Majorly we override

Read more

Rounding in Java – Math.Round, Math.Floor, Math.Ceil

We have decimal values in java, but sometimes there is a need to round them. It is important to remember which function should be used according to the requirements. So In this blog, I will be sharing some ways to round off decimal values in java. Checking whether java rounds the value up or down by default.

Output:

Explanation: We are taking two values val1 and val2 from the user as inputs. Then we are dividing both of

Read more

Advantages of Hibernate Over JDBC?

Hibernate is a framework used in Java to ease the development of applications to interact with databases. On the other hand, JDBC is an API to connect and execute queries with database in Java. In this blog, we will be talking about the main advantages of hibernate over JDBC. Let’s discuss each of them one by one in detail. 1. Database Dependency The Hibernate is not dependent on the database whereas in the case of JDBC the queries that need

Read more

Advantages of R Programming Language

Discussions about the benefits and drawbacks of specific programming languages somewhat resemble discussing religion or politics. Those who are interested in such things all have very strong opinions about them can spend hours explaining why they are right and completely fail to persuade their opponents who happen to have just as strong opinions on the subject. Nevertheless, an objective evaluator can single out certain advantages and disadvantages of using specific programming languages for specific purposes. So, if you ask yourself

Read more

Method Overloading in Java With Example

Method overloading states that we can have methods with the same name but something in their parameters should be different. If you know about constructor overloading then it is pretty similar to method overloading. Method overloading helps us from writing the same methods under different names. For example, a method involving multiplication of 2 numbers can be named as mymultiplication(int x, int y) and the method involving multiplication of 3 numbers can have the same name with different parameters as

Read more
1 2 3 27