How to Create a Password Application In Java

Password login
Image by TBIT – Pixabay

Tutorial On How To Create A Password Application In Java

In this tutorial, I will show you how to create a password application in Java. This application is using JPasswordField class.

The password field, of course, let users to enter a password. And just like every form of password around the world, password field displays echo characters instead of the password itself. The default echo character is a bullet, but you can change that echo character to any character on your keyboard.
Continue reading How to Create a Password Application In Java

The programming language that I specialize in is Java, because I think Java programming language is more universal and of course because I like it regardless of any reason.

How To Get User Input Using Console

Get User Input

Get User Input – Creating data by manually changing the variable inside the code is a usual thing to do. But, what if the data you need doesn’t exist yet? and that is until someone inputs it to your program.

Let’s do a small step and try to get input from users using the IDE’s console/terminal. This is a very easy thing to do, you can try to edit the code in any way you want it.

Continue reading How To Get User Input Using Console

The programming language that I specialize in is Java, because I think Java programming language is more universal and of course because I like it regardless of any reason.

Artificial Intelligence, What Is It?

What Does Artificial Intelligence Mean?

AI / Artificial IntelligenceArtificial Intelligence can be described as a task that is given to a program or machine. Therefore, If a human does the same activity/task, we would say that the human had to apply some sort of intelligence to accomplish the task. Traits that an AI would have is listed below :

Continue reading Artificial Intelligence, What Is It?

The programming language that I specialize in is Java, because I think Java programming language is more universal and of course because I like it regardless of any reason.

Which Is Better : Java or C++?

What Should I Choose, Java or C++?

choosing java or c++Sometimes people compare these 2 programming languages on whether which one of it is better than the other. So today, I’m asking the question “Which Is Better: Java or C++?”. Now we need to look through many factors that will eventually lead one programming language as the winner.

No doubt that Java and C++ have their own advantages and weaknesses. So it can be a little hard for us to determine which one is better than the other. Both of them shares similarities either it’s on syntax or the fact that they are an object-oriented language.

But let’s not make it complicated, here is a list of differences between the two of them

Continue reading Which Is Better : Java or C++?

The programming language that I specialize in is Java, because I think Java programming language is more universal and of course because I like it regardless of any reason.

Explained: Java Coffee Mug History

Java Coffee Mug History

Java Coffee Mug HistoryJava Coffee Mug History ~ Java is a high-level programming language that has been around for a long time since its release. And now almost anyone uses it now, it’s only a small percentage of those people who know the history of the cup. Do you even know the history of it? well, in fact… the story is rather interesting as you’ll find out.

Continue reading Explained: Java Coffee Mug History

The programming language that I specialize in is Java, because I think Java programming language is more universal and of course because I like it regardless of any reason.

Why Java Is So Popular?

Biggest Reasons Why Java Is So Popular Amongst Programmers

Why Java Is So Popular
Perhaps #1 Programming Language

Why Java Is So Popular ~ Today we’re talking about the factors that make the 20 years old programming language “Java” is still popular amongst programmers. Nowadays Java is still the most popular programming language for developing an enterprise application.

Continue reading Why Java Is So Popular?

The programming language that I specialize in is Java, because I think Java programming language is more universal and of course because I like it regardless of any reason.

Why Android Use Java Language?

Reasons To Why Android Use Java

Why android use java
Android Uses Java

Why android use Java? ~ Java familiarity among developers and programmers has become the key to create a program a bit quicker. This applies more to google’s android mobile platform than to Apple iOS ore Microsoft Windows Phone Platform.

Continue reading Why Android Use Java Language?

The programming language that I specialize in is Java, because I think Java programming language is more universal and of course because I like it regardless of any reason.

Advantages of Multithreading

Various Advantages of Multithreading

multitasking is and advantages of multithreading
Multitasking synonymous with efficiency

Advantages of Multithreading ~ These days the shortage of time has led us to a multitasking activities. Where that multitasking has been synonymous with the needs of efficiency. And that is not an exception for the programming world, a program that does a single task is just not enough anymore.

Continue reading Advantages of Multithreading

The programming language that I specialize in is Java, because I think Java programming language is more universal and of course because I like it regardless of any reason.

Multi Threading Programming (Java)

Multi Threading Programming In Java

What is the multi threading programming that we used is Java, hear this.. Java is actually a multi-threaded programming language and by that Java can let us develop a multi-threaded program.

Do you know what a multi-threaded program is? well a multi-threaded program contains two or more than two parts. Which runs concurrently and each of that one part can handle different task (i.e codes that contains methods, constructors etc) at the same equal time. This can actually improves the optimal use of the available resource, if you have multiple CPUs.

Basically multi threading programming takes the idea of multi tasking. Which is “doing more than 1 activities at the same time”. Multi tasking in our terms it means when a multiple processes share a common process resource such as a CPU.
Continue reading Multi Threading Programming (Java)

The programming language that I specialize in is Java, because I think Java programming language is more universal and of course because I like it regardless of any reason.

Code Aggregation *for code reusability

What is Code Aggregation

code aggregation
Code aggregation as reusability

If there is an entity reference in a class, then you what you have is a code aggregation. Aggregation usually represents HAS-A relationship.
Consider the following situation situation.

A Worker object contains many informations such as id, name, phone number etc. It contains one more object named address, which contains its own informations such as city, state, country etc. see it as given below.

Continue reading Code Aggregation *for code reusability

The programming language that I specialize in is Java, because I think Java programming language is more universal and of course because I like it regardless of any reason.