PSYCHOCODES

Explaining Getters and Setters in Java with Example

In this tutorial, we will learn how getters and setters work and we will also see an example in java based on getters and setters.

Read more

Thread Synchronization Program in Java-Multithreading

In this tutorial, we will see how to execute threads in synchronisation (one by one) and we will also see how threads got executed without synchronisation.

Read more

First Come First Serve(FCFS) Program in Java

A processor handles multiple processes and assigns them to CPU on the basis of a particular algorithm which is known as a scheduling algorithm. In this tutorial, we are going to see a popular scheduling algorithm known as FIRST COME FIRST SERVE algorithm.

Read more

Java Program to Print Random Words

In this tutorial, we will learn how to print random words using Java, we are going to use the rand() method of Math Class, rand() returns a double number ranging from 0 .0 to 1.0.

Read more

Vampire Number Program in Java

Vampire number is a composite natural number with even number of digits, which can be broken down into two numbers of equal length, and the multiplication of those two numbers will be equal to the original number

Read more

Explaining the Object Oriented Programming Concepts in Java

Procedures......Its a word which defines a Procedural Programming Language like C where we have to make procedures for each and everything and divide our whole code into seprate procedures which is quite a hard stuff to do but the introduction of OOP has make things a lot easier for programmers nowadays.

Read more

Java For Beginners: Introduction and How to Set Up the Java Coding Environment

In this series we will learn Java from scratch and will try to cover every possible aspect of Java, In this chapter we will give you a short intro about java and then we will setup our coding environment for writing Java Codes and in the end of the chapter we will write a simple "hello world !" program in Java, So let's get started.

Read more