32,199 Topics

Member Avatar for
Member Avatar for Violet_82

Hi there, I've come across an issue while trying to get all the records from a SQL database in java. A bit of necessary introduction here. I'm not using any framework just JDBC and the getAllBooks method is part of a REST call. The failing method is essentially doing this: …

Member Avatar for Violet_82
1
535
Member Avatar for duptiagnas

hi teams, i trying to sum value from selected radio button, but it not working, can you help me out ? any help is appreciated <!DOCTYPE html> <html> <body> <h1>Display Radio Buttons</h1> <form action="/action_page.php"> <br> <label class="radio-inline"> <input class="r1" type="radio" name="a1" value="10">Option 1 </label> <label class="radio-inline"> <input class="r1" type="radio" name="a1" …

Member Avatar for Emmason
0
723
Member Avatar for student.09

Hi, I have a bit of a problem of understanding of what I need to do to write this program. Could someone please provide me basic steps of what I should do? Or an example, I"m good at relating and following examples. I believe this is my last assignment for …

Member Avatar for sahil_26
0
7K
Member Avatar for Yusuf_13

basically my sister had a ipad ,and she was using for a long time and was enjoying using it and she forgot her ipad password. there was no way to reset the password without going to shop and we couldn't be bothered to take to pc store to reset the …

Member Avatar for Yusuf_13
0
192
Member Avatar for Alexandramaria

I would like to build a software career and am looking for the best software training institution. Can you please help me to find one?

Member Avatar for rproffitt
0
28
Member Avatar for zeekie22

I am a developer who recently started working on my own, and I've come across some projects that I can't handle by myself (mostly in React). What resources would you guys recommend for finding / putting together a team of remote developers to join me on these projects?

Member Avatar for benjamin79
5
173
Member Avatar for Lacy_3

Hi, my name is Lacy. I'm new to java programming and need some help of this code I'm writing. The code is based on the game mastermind. The computer genrates a code that the user has to solve. I having trouble with my code on how comparing the user guess …

Member Avatar for chuckgr
0
710
Member Avatar for jordan17

Yes it can be private by creating static factory method and returning object and in main access that static method and we will access the private constructor

Member Avatar for JamesCherrill
0
18
Member Avatar for smachee

I have written the code for the following problem and would just like some feedback before I move on. The problem states: [QUOTE]Write a class names TestScores. The class constructor should accept an array of test scores as its arguement. The class should have a method that returns the average …

Member Avatar for patrick_25
0
5K
Member Avatar for jenna.crist278

I need help with this super soon! The assignment is to count the syllables assuming that every time a vowel directly follows a consonant there is a new syllable. This is the code I have so far! Thanks for your help! import java.util.Scanner; public class Syllables { public static void …

Member Avatar for rproffitt
0
32
Member Avatar for Dani

So sorry for brief periods of the CSS and Javascript files not being properly loaded earlier today. However, on the bright side, we now have CSS/JS versioning properly set up again, which means I'm going to stop asking you guys to clear your browser cache whenever I release a new …

Member Avatar for Dani
0
553
Member Avatar for Kelvin_11

I am good in different languages, that is: Java, python, C#, VB.NET, php, javascript I have been programming for a while now it's about 2 and half years but the issue is when I focus on one language I tend to concentrate on it more than the others which leads …

Member Avatar for Mr.M
1
319
Member Avatar for athousandsticks
Member Avatar for Mr.M
0
59
Member Avatar for LofeDuty

I've been trying to get into coding but I really wanna learn how to make a menu visible and invisible when you select the letter i

Member Avatar for rproffitt
0
24
Member Avatar for sujoy98

/* l=first index r=last index */ import java.util.Scanner; public class BinarySearch{ public static void main(String[]args){ int a[]={1,2,3,4,5,6,7,8,9,10}; Scanner sc=new Scanner(System.in); System.out.print("Enter a data to search :"); int data=sc.nextInt(); int l=0,r=a.length-1; while(l<r){ int mid=(l+r)/2; if(data==a[mid]){ System.out.println("data found at "+mid+"th index."); break; }else if(data<a[mid]){ r=mid-1; }else{ l=mid+1; } mid=(l+r)/2; if(data!=a[mid]){ System.out.print("not found"); …

Member Avatar for rproffitt
0
22
Member Avatar for Jacob_19

Dear software developers, We are researchers aiming to understand developers' knowledge needs and program comprehension. Our intention is to support practitioners in selecting tools that can facilitate developers' tasks. Moreover, we hope that our research results in the development of new tools that are customized to the actual needs of …

1
45
Member Avatar for MagnusTheRed90

I am trying to pass url parameters to an angular js page for page setup. I was wondering if anyone could tell me whether I am missing something from these two code samples. The following is some code from a game related program that I am writing. The $routeProvider parameter …

Member Avatar for MagnusTheRed90
0
135
Member Avatar for Sammy_1

I am taking a class on RN with Kotlin and got stuck on this assignment. When I try to pass an array of integers from JS to Kotlin, I get the error java.lang.RuntimeException: Got unknown argument class: int[]. Calculator.kt @ReactMethod fun getSum(values: IntArray, callback: Callback){ var total = 0; // …

0
25
Member Avatar for Saboor880

I am making an adroid application. I am saving sales data on firebase with current date. I have formatted the System.currentTimeMillis() into SimpleDateFormat. The date is successfully stored on firebase . Now I want to retrieve sales between two dates. I made two demo sales, one on (30-5-2019) and second …

Member Avatar for Lye
1
5K
Member Avatar for newcoder310

Hi have 2`springboot` applications running on ports `8085` and `8084`. When I try to use `RestTemplate` to try to connect from one service to another, I get a `BadGateway 502` exception. Below is the stacktrace head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.9</center> </body> </html> ]] with root cause org.springframework.web.client.HttpServerErrorException$BadGateway: …

Member Avatar for newcoder310
0
3K
Member Avatar for Koos_1

Am still at school and am doing programming, and I choose these forum because it will be helpful for me in gaining the knowledge and experience on c++ and many other programming language.

Member Avatar for j.khurram
3
103
Member Avatar for subhraakasuny

Hi All, I have an excel file containg chart.I am able to read the chart from excel file using POI XSSF. But I am not able to save the XSSFChart as an image.I want the chart to be stored in my harddrive as an image(.jpg or .png).Please find my code …

Member Avatar for GovindSharma
0
4K
Member Avatar for tun712

How to add meeting host/meeting controler How to allow meeting host to set another person as host How to add signing with account https://jitsi.org/jitsi-meet/

Member Avatar for AndreRet
0
23
Member Avatar for John_165

What are all num referring to ? class Sample { int num; void method() { num = 1; int num = num = 2; num = 3; } }

Member Avatar for John_165
0
1K
Member Avatar for musakebbeh4

Unit conversion. Write a unit conversion program that asks the users from which unit they want to convert (fl. oz, gal, ft) and to which unit they want to convert (ml, l, m). Reject incompatible conversions (such as gal→ m). Ask for the value to be converted, then display the …

Member Avatar for rproffitt
0
18
Member Avatar for Remti Altec
Member Avatar for Rolland_1

Hi, could you please let me know what should I learn first about programing? I mean, may be I need to learn HTML, C++, Java, read a specific book, I don't know where to start and hope you can show me the way, please!! I would really appreciate it

Member Avatar for sonalid1701
0
192
Member Avatar for Vegito1991

I was doing GUI based application, when i run the MyChatPage particularly, it able to send the text to the server and send to the client textarea, which is my objective, but if i run from MyChatIP class and create new object to open the MyCHatpage frame, it will hang, …

Member Avatar for Muhamad_5
0
505
Member Avatar for sujoy98

import java.util.Scanner; class bank{ public void termDeposit(){ int principle; double rate,years; Scanner sc=new Scanner(System.in); System.out.print("Enter Principle Amount : "); principle = sc.nextInt(); System.out.print("Enter rate od interest : "); rate = sc.nextDouble(); System.out.print("Enter time period in years : "); years = sc.nextDouble(); double maturityAmount = (principle*(Math.pow(1+(rate/100),years))); System.out.println("Maturity Amount after " +years+ …

Member Avatar for sujoy98
0
199
Member Avatar for Massimo_2

I have a problem: I can't get the correct answer from the webservice. The two parameters are correct and the source seems to me to be correct. The system does not require authentication ... What am I doing wrong? <? try { $wsdl = "http://wsr.brt.it:10041/web/GetIdSpedizioneByRMNService/GetIdSpedizioneByRMN?wsdl"; $client = new SoapClient($wsdl); $result …

Member Avatar for pritaeas
0
15

The End.