Java – Draw circle in applet

Drawing a perfect circle can be challenging, but with the Draw Circle applet, it’s easy and fun! This user-friendly tool allows you to create flawless circles in just a few simple steps. Here’s an example code in Java that demonstrates how to draw a circle using an applet:

This code creates an Applet subclass …

Java – Draw circle in applet Read More »

inux-shell-script-vowels-count

Linux – Shell Script Count Vowels from file

To begin with, start by creating a new file called “vowels.txt”. Inside this file, add a few lines of text containing some vowels (a, e, i, o, u). Next, create another file in the same directory with the name “countvowels.txt”. Then, copy and paste the following code:

#!/bin/sh: This is a shebang statement that …

Linux – Shell Script Count Vowels from file Read More »

Scroll to Top