493 Answered Questions for the topic Java

Java Javascrips

02/07/21

Java code required

UBL bank provides income statements to its account holders upon their request on monthly basis. An Income statement includes the accountholder's account number, account tftle, total debft, total... more

Inheritance in java

There were Pandavs and Kauravs. Arjun and Bheem were Pandavs. Duryodhan was a Kaurav. Pandavs were characterized by their skills of fighting (fight ( )), obedience (obey ( )), and kindness (kind (... more

01/25/21

Objects, Properties and Methods

Think an object with many properties and methods except for gadgets.Example: PersonProperties - Age, heightMethods - Walk, Talk

I have a coding question

How do you capitalize the first character of each word in a string in an array?Explain with a simple example please?Thanks

Write a program based on the problems given below.

1) Create a date chooser using mm-dd-yyyy format by creating three separate combo boxes. The user shall be able to concatenate the combobox values to form a full date then display it using... more

Help me with this please

Write a static void method that will take accept an int array as a parameter and will count the number of times the numbers, 0-9, appear in the array, which can just be print statements

Need help on control structures, arrays, and functions

Create a simple 5-question quiz with three (3) choices that will display the score of the user. The quiz should be about your favorite game/series. Make use of control structures, arrays, and... more

JFRAME: I cant understand how to make this

Write an application that displays a JFrame containing the opening sentence or two from your favorite book. Change the background color to your favorite one. Please help

Simple Calculator

 Create a simple Java GUI application that will simulate the calculator. Numbers from 0-9 should be present and should perform a basic arithmetic operation such as Addition, Subtraction,... more

Database management System

Write a menu driven program to create and operate on a relational database that, prospectively, can be used by a library using Java or C++ One relation is stored in one data file.... more

How to make GLabel font to resize as the application size changes

I need to adjust the font size of GLabel as the application size changes. I mean, when I resize canvas's windows I need GLabel font to resize too proportionally.
Java Oop

12/23/20

"District Information System” application

As a programmer, you have been asked to write a Java application, using OOP concepts, for a District. The district contains many buildings, and each building has several apartments. You need to... more

12/10/20

How do you write a Java method for how to find the orthocenter of a triangle?

I need to know the steps on how to create an orthocenter method since whatever I try doesn't seem to work. I tried (a(x) * tan(a) and so on for the other three points but that doesn't work either.... more

12/10/20

Word Frequencies

Write a program that reads a list of words. Then, the program outputs those words and their frequencies. The input begins with an integer indicating the number of words that follow. Assume that the... more

Password requirements

Websites commonly require a password that satisfies several requirements. Write a program that checks if an input string satisfies the following (error message is shown for each): At least 8... more

Word frequencies - methods

Write a program that reads a list of words. Then, the program outputs those words and their frequencies. The input begins with an integer indicating the number of words that follow. Assume that the... more

Password requirement

Websites commonly require a password that satisfies several requirements. Write a program that checks if an input string satisfies the following (error message is shown for each): At least 8... more

Leap year - methods

A common year in the modern Gregorian calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a leap year... more
Java

12/04/20

Java question please look

The Student.java : http://www.mediafire.com/file/rgbermppxz2xj40/Student.java/fileThe Driver.java : http://www.mediafire.com/file/0ixbi897ph6cspa/Driver.java/fileScreen Shot 2020-12-04 at 9.53.21... more

Please help with CS

True or False and explain, Methods can exist inside the main (Runner) class.True or False and explain. The toString() method is unique and defaulted to every object. True or False and explain. You... more
Java

11/26/20

I need help with the two empty methods in the code below. You need to loop though head to tail before returning removefirstoccurance(Object o) or removeLastoccurance(Object o) ??

public class LinkedListDeque<E> extends AbstractDeque<E> {private Deque<Integer>list;private Node<E> head;private Node<E> tail;private int size; @Overridepublic... more
Java

11/25/20

exception Error

I need to solve this : You need to create, use and print a custom exception called DuplicatePateientIdException thatshould be thrown when the admin tries to add a new patient using existing patient... more

Can someone do me this project?-java

The project description:As a programmer, you have been asked to write a Java application, using OOP concepts, for a Hospital with the following requirements:• The Hospital has several employees and... more

Can someone fix my code based on my comment under this question? *java*

My code:package javaapplication45;import java.util.ArrayList;import java.util.List;import java.util.Scanner;public class JavaApplication45 {// Maain Classpublic static void main(String[]... more

Can someone fix my code based on my comment under this question? *java*

My code:package javaapplication45;import java.util.ArrayList;import java.util.List;import java.util.Scanner;public class JavaApplication45 {// Maain Classpublic static void main(String[]... more

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.