I need to find the first 16 multiples of 2 starting with 2. Then find the product in the next line like this. I need to use for loops only. Sample ou ...
I need to find the first 16 multiples of 2 starting with 2. Then find the product in the next line like this. I need to use for loops only. Sample ou ...
I am trying to create a boolean expression to tell me if a letter given is in a word using charAt. An example is if the secret word is daisy and I giv ...
I made a program to calculate binary numbers, but it only reads input in base 10, so when I try to add two numbers together, the program adds them tog ...
I want to make an animation of an ellipse growing and shrinking in length. The animation should be continuous, so I want the length of the ellipse to ...
Here is the program: In this program, the user enters 10 random numbers into an integer array. The from this array, the smallest and largest number ...
The program compiles properly. Still, when running the program, the message which tells if it is a palindrome prints incorrectly. What changes do I ...
I am new to programming and have been using the IDE BlueJ. I wanted to change to dark mode using the code given in this GitHub link: https://github.c ...
I am making the game "Go" for a Java assignment. This is a helper method I'm having issues on. The game is based on arrays and loops. The instructio ...
I´m currently programming my first chess game and I have a small problem with my pieces. I´ll add some of my code below, but generally I would like to ...
The code below is for a graphical user interface that has a loginframe that will enable the user to input their credentials. However, when I run the c ...
For example, I have a bank account which has a limit of let's say 500 euros. First I add 400 euros and after that I add 150 euros. How can I change my ...
Okay so basically, every time I've seen this question asked it doesn't have the answer I'm looking for which is why I'm trying to ask myself. Basical ...
Question: When I run the game class I end up with: https://i.stack.imgur.com/MEAOH.png and I should have black boxs on the far right and bottom. When ...
I have the following code which outputs 0 and 5 when run the first time. However, if I rerun the program I get 5 and 5 from BlueJ (ide) and 0 and 5 fr ...
I am asked to create a method called removeBook(Book) which takes a Book as an argument. I have two classes Library and Book, I am using an ArrayList ...
It seems that when I move the circle outside the group of squares, it moves the squares even though there is no code that does that. I'm 99% percent s ...
The situation I'm currently in is, I have a circle on a screen and if I hold LMB down first and then drag my cursor across it, nothing happens. I've t ...
I have previously written programs to print the whole string in reverse order but this question asks u to reverse the word and yet retain its original ...
How can I convert my PROGRAM to jar or exe it is a simple program public class Hello { public static void main( String[] a ) { } } java ...
Im in an intro to java programming course and we're doing a project in Bluej where we need to use automated testing to run our code. The test code is ...