Java has three types of loops: (1) for loop, (2) while loop, and (3) do-while loop. This post focuses on while loops in Java. In the video-lecture associated with this post, we compare side-by-side for loops and while loops. While loops in Java The while loop in Java has the following structure. The variable condition […]
Author Archive for: Monika
You are here: Home / Monika Akbar
About Monika Akbar
I am an Assistant Professor in the Department of Computer Science at the University of Texas at El Paso (UTEP). My specialty is Data Science, with a focus on information retrieval and applications of cybersecurity.
Entries by Monika Akbar
As stated in the previous video lecture, nested loops refer to the repetition of another repeated task. The nested loops we discussed in the last lecture were not dependent on each other in determining how many times a loop should iterate. In the exercise of this lecture, we demonstrate how we can ensure that the […]
The article covers user input in Java for different data types. It uses a simple example and great details for beginners. We also provide a YouTube video in this article that describes the fine details of how to write the program.
When someone goes to a college to study Computer Science, she/he does not have to worry much about what programming languages to learn because the degree plan already contains an outline of almost all the required courses. Today, we are going to answer the question of which programming language one should learn if she/he does not […]