32,199 Topics

Member Avatar for
Member Avatar for Andrew_70

New to Java and would appreciate the help with the assignment: Write a program to collect exam grades from keyboard until an invalid grade (grade less than 0 or bigger than 100) inputted. Find how many grades were entered, the corresponding average grade, how many grades above 90, and how …

Member Avatar for Tori_1
0
110
Member Avatar for Tombezlar
Member Avatar for Reverend Jim
0
125
Member Avatar for John_285

i need help on : we sum the balances of all of the Accounts ?? print the total sum. print the owners of all the Accounts that have balances < 100 ? Danny is generous – and wants to deposit 72 into all accounts with balances < 100 How many …

Member Avatar for JamesCherrill
0
184
Member Avatar for sonalid1701

Hey folks, Need your help:) Wanted to understand the concept of method overloading and overriding in Java, as explained in Q.7 [here](https://www.interviewbit.com/java-interview-questions/). How do we identify a problem, to which we can apply the above concept?

Member Avatar for JamesCherrill
0
70
Member Avatar for Dave Ryan

this is the task given to me guix i hope you can help me Create a program that will read the data from a file and save the output in another file 1.Create an input file named **CS122Grades**. 2.The contents of the input file should be the **names**,**midterm grades** and …

Member Avatar for rproffitt
-1
338
Member Avatar for s_26

public class Hello { public static void main (String[] args) { System.out.println("My contact number is: "); int srv = 82; system.out.println(srv);

Member Avatar for tinstaafl
0
158
Member Avatar for Sridhar_7

Hello, I have a program below where I am selecting a file and displaying the content using a JTextArea. It works fine, but when I add a JScroller, it does not display the area with the scroller. What am I doing wrong? import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; …

Member Avatar for Sridhar_7
0
94
Member Avatar for dixit ankit

Hi everybody!! I want to make a vehivle license plate recognition system in java but dont have any idea how to implement it in java.If anyone could give me link to how use java for image processing,it would be of great help Waiting for reply

Member Avatar for daanjanssennn
0
223
Member Avatar for ANAFO

hi guys, am new here i want to learn how to code java am a starter and i will like to learn it as fast as posible

Member Avatar for rproffitt
0
33
Member Avatar for noor_19
Member Avatar for rproffitt
0
29
Member Avatar for Moniza_1

Ahun ni mi Eni ba temi je I need a script that constantly scans a token on etherscan and notifies me when a large order goes through. I should be able to set the following parameters 1. the token eg Celsius, DAI 2. large order size eg 50,000 I can …

Member Avatar for rproffitt
0
41
Member Avatar for Royvip

I need a software that can automatically log into a series of accounts to a website, available data acount list, we need software to automatically log in continuously to check whether the account is alive or dead and check. check nickname in the game, and amount in the account

Member Avatar for Dai_6
0
154
Member Avatar for Jeon_2

Write a program that prompts the user to input (word/statement), Accepts only letters. The program then: 1.Remove all the vowels from the (word /statement) then output the (word /statement) without vowels. 2. Outputs the number of vowels. 3. Convert the lowercase vowels letters to uppercase and vice versa. Conditions: 1. …

Member Avatar for knight84
0
148
Member Avatar for d088814

a. Create an application to calculate the GPA of a student. b. GPA calculation must also take into account courses / subjects with UM status (Repeat Subjects). c. The number of subjects / courses entered by students / system users is not fixed. d. Students only need to enter the …

Member Avatar for tinstaafl
0
66
Member Avatar for SimonIoa

Hello i want to publish my Ionic Cordova in Android. I keep getting an error ANDROID_SDK_ROOT=/Users/[myName]/Library/Android/sdk (recommended setting) ANDROID_HOME=/Users/[myName]/Library/Android/sdk (DEPRECATED) Could not find an installed version of Gradle either in Android Studio, or on your system to install the gradle wrapper. Please include gradle in your path, or install Android …

Member Avatar for rproffitt
0
35
Member Avatar for Yuri Domingos

Help me to generate a complete image after finishing my free drawing in paint Here is the code /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ …

Member Avatar for rproffitt
0
82
Member Avatar for obedz

Rick is really fond of fruit juices, but he is bored of their traditional flavours. Therefore, he has decided to mix as many of them as possible to obtain something entirely new as a result. He has N glasses, numbered from 0 to N-1, each containing a different kind of …

Member Avatar for Chrisphine
0
3K
Member Avatar for 28-Ivan

class Test { char Paper[20]; int Marks public: Test() //Function 1 { strcpy(Paper,”Computer”); Marks=0; } //Function 2 Test(char P[]) { strcpy(Paper,P); Marks=0; } //Function 3 Test(int M) { strcpy(Paper,”Computer”); Marks=M; } Test(char P[],int M) //Function 4 { strcpy(Paper,P); Marks=M; } };

Member Avatar for rproffitt
-1
39
Member Avatar for Andres_6

Hi everyone! Im Andres_6, but call me Patrick. I am having trouble with the "import" in Javascirpt, I dont really get it, can someone tell me just how to use it?? import // now what?

Member Avatar for Dani
0
42
Member Avatar for Saboor880

Hi! I have used Google translate web API many times in my java applications for dynamic translation into different languages (e.g printing a receipt in Hindi,Urdu or French Language.) But now I want an API or Jar file to translate text to different languages Offline. I have searched a lot …

Member Avatar for rproffitt
0
663
Member Avatar for Aarav_5

have to implement a static-public method named "csvToList" in the class "Functionality.java". The method gets a string as input parameter and returns a LinkedList<String[]>. Signature: csvToList(String path) : LinkedList<String[]> My problem is to implement this : The method reads a CSV file in the path. Each single line is divided …

Member Avatar for JamesCherrill
0
52
Member Avatar for Nur Izzati

public static void main(String[] args) Scanner.sc=new Scanner(System.in); String name = new String(new char[30]); final String pizza1 = "Chicken Fazita"; final String pizza2 = "Chicken Bar BQ"; final String pizza3 = "Peri Peri"; final String pizza4 = "Creamy Max"; final String roll1 = "Chicken Chatni Roll"; final String roll2 = "Chicken …

Member Avatar for rproffitt
0
220
Member Avatar for Computer Doctor

from socket import * #Start test() def test(): #Specify the port serverPort = 80 serverSocket = socket(AF_INET,SOCK_STREAM) serverSocket.bind(('',serverPort)) #Listen for the 1 connection serverSocket.listen(1) #Print the port address print("web server on port",serverPort) #Start thw while loop. while True: #Establish the connection. print("ready to serve") #Create connection socket for accepted client. …

Member Avatar for JamesCherrill
0
199
Member Avatar for snow_1

when I read FutureTask's run method, I found it use cas to set runner variable, public void run() { if (state != NEW || !UNSAFE.compareAndSwapObject(this, runnerOffset, null, Thread.currentThread())) return; try { Callable<V> c = callable; if (c != null && state == NEW) { V result; boolean ran; try { …

Member Avatar for JamesCherrill
0
81
Member Avatar for Hamsterking

hi there i have an XML file wich contain some music information in a node and i would like to insert more i would like to add more node on demeand when i do i receive this error HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is …

0
97
Member Avatar for phphp

Sir I have installed JAVA 15 windows 7 64bit ![aapng.png](https://static.daniweb.com/attachments/4/6317016c29f6905d889b1cecd53f91b3.png) I want to ask what Microsoft JDBC Driver for SQLSERVER 2014 should I download. Please

Member Avatar for JamesCherrill
0
123
Member Avatar for ANGEL123@@

HELP ME IN MY BUS RESERVATION PROJECT I NEED TO HAVE A CONDITONAL STATEMENT IN MT SEATING ARRANGEMENT FOR EXAMPLE IF THE SEAT NUMBER IS ALREADY SELECTED IT WILL POP UP THE SEAT IS ALREADY SELECTED I USE THE COMBO BOX FOR THE SEAT NUMBER

Member Avatar for stultuske
0
263
Member Avatar for Alamgir_3

I am a final year student. Now I need to start work for final project. But I am not familiar how to do it. Can you help me out, How to prepare a index page for my website ( Complaint website). Or if you have completed project before, Please send …

Member Avatar for Dani
0
45
Member Avatar for CB8379

Hello all, I am fairly new to Java, and have had a terrible time with arrays thus far. I am attempting to complete a project using arrays to store inventory items (item number, name, unit price, and unit numbers) and need to output information using an array to hold the …

Member Avatar for Kandapatrick19
0
684
Member Avatar for z.smart

How can read line in file that line have recordor examplethe file: date new_cases new_deaths 2020-07-30 665 10 2020-07-31 590 9 2020-08-01 - 0 2020-08-02 - - 2020-06-04 738 8 2020-06-05 779 - 2020-06-06 770 5 4 line it is not record new_cases or new_deaths so wae ignore the line …

Member Avatar for stultuske
0
53

The End.