Brick Game in Java

If you’re a fan of classic arcade games, you’ve probably played Brick Game before. It’s a simple game that involves maneuvering a paddle to hit a ball that bounces around, trying to break through a wall of bricks. In this article, we’ll show you how to create your own Brick Game in Java with Source … Continue reading “Brick Game in Java”

File Handling In Java

File handling is a critical aspect of any programming language. File handling refers to manipulating files and directories on the file system. This article will provide an overview of file handling in Java. java.io.File Class The File class in Java is the primary way to handle files and directories. It is part of the java.io … Continue reading “File Handling In Java”

Anagram In Java

 Any word or phrase that exactly reproduces the letters in another order is an anagram. Example: cat – act, study – dusty, gainly – laying etc., Logic for anagram is below:

Output:

Armstrong Number In Java

Armstrong Number is a number that is the sum of its own digits each raised to the power of the number of digits. Example: 13+53+33=153 which is same as given number 153., and 3 is the number of digits. 14+64+34+44=1634 which is same as given number 1634., and 4 is the number of digits.

Continue readingArmstrong Number In Java

Palindrome String In Java

What is Palindrome? A Palidrome string is a string where if we reverse the string, the word will be same. A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward. Example: madam, refer, redivider The logic in Java for implementation is very simple.,

Output: Input String: abcdcba … Continue readingPalindrome String In Java

Fibonacci series

Fibonacci Series is one of the basic questions in Java., to check the programmer has a basic understanding of logic implementation in java.In Fibonacci series, the current number is always the sum of previous two numbers.Fibonacci series is initialized with 0 & 1.0, 1, (0+1)2, (1+2)3, (2+3)5, (3+5)8, (5+8)13….

Output 0 1 1 2 … Continue readingFibonacci series

HTML Layouts

HTML layouts provide a way to design web pages in well-structured. it consist of many sections. page layout example:

HTML Block and Inline Elements

Each HTML element has a default display value, based on type of element. There are two display values: Inline-level elements: Below is the table summarise what each of those element does. Inline-level tags Description <a> Defines a hyperlink. <img> Defines an image. <span> Defines a small section of text. <em> Defines emphasized text. <strong> Defines … Continue reading “HTML Block and Inline Elements”

Bubble Sort – Java

Sorting is one of the major required feature for any application during implementation of any business logic. There are different types of sorting in place based on performance, speed, cost of operation. One of simplest and easy algorithm is Bubble Sort Algorithm which is an easy one to understand/implement for any quick implementation. Sorting a … Continue reading “Bubble Sort – Java”