This article will discuss the scanner class in Java with some examples and illustrations. Once you know the basics of programming, the time comes for a developer to work with novice programs in text mode (console). Many begin using the scanner class, precisely because it facilitates the data input in the console. Java 5 introduced …
Java
IntelliJ vs Eclipse: Which To Use For Java Development
When coding a program in Java, deciding on the language to use is only half the battle. The programmer must decide which IDE (or integrated development environment) works best for the job. The undertaking of large projects in Java requires the use of an IDE. The right IDE can perform invaluable tasks like decompiling files. …
How To Use GridBaglayout In Java? Everything You Need To Know!
Gridbaglayout is a popular layout manager associated with the Java programming language. While not appropriate for all situations, Gridbaglayout’s flexibility definitely is useful and Java programmers should know this valuable tool. But what is a layout manager, and why is using one so important to Java? A layout manager is valuable because it allows the …
Write To File In Java: Best Ways And Other Approaches For Writing
Best Ways to Write to File in JavaFor programmers writing in Java who need to do a Java write to file, there are four main ways to accomplish this: FileWriter, BufferedWriter, java 7 Files and FileOutput Stream. We’ll touch on all of those today. Here’s a brief overview, and we’ll expand on each of these as …
Quantitative Aptitude 101: What Does It Mean
Quantitative aptitude is a measure of an individual’s numeric ability and problem-solving skills. This sort of aptitude is highly valued in fields like computer science, engineering, and mathematics because it usually correlates with success in those fields. However, there is a push to further this understanding in qualitative fields like journalism and the digital arts too. …
How To Add Environment Entries (JNDI) to Tomcat Web Server
Have you tried configuring the JNDI variables with Tomcat server?. This tutorial is going to explain you step-by-step procedure on how to configure JNDI variables in your tomcat server. It is very simple configuration in the Tomcat server’s configuration XML file. Open the Tomcat server’s context.xml file. The same change can be done using the …
Maven : updatePolicy Configuration in Settings XML file
One of the most common thing when working with dependency management is how often our local repository has to sync up with the remote repository. Maven has updatePolicy settings for specifying the frequency to check the updates in the repository. Most of the times this value is left blank in the configuration files, the default value is …
How To Use Source and Target Parameter in Java Compiler
If you are a Java programmer, then one of the common question comes into mind is How do I compile for compatibility with older versions of Java?. When you run your Java program with an older version of the Java runtime environment, you may get the following Java exception if you have not compiled with the right version of …






