Member Avatar
Hi all, How can I compare between 2 strings , contain some words are same in each other and extracting the same word only ,,these 2 strings not contain spaces. For example: String1="catdogfish"; String2="dogfishmonky"; So, the result I want to get from compare them is "dogfish". Is there any way …
by Mar. Na. in Programming ()
Member Avatar
My program was working fine until i introduced the if statement, without this "if" there are (java.lang.NullPointerException) errors . What shall i do? Thank you in advance . Here is the necessary part of code for you: ...
by Kachour in Software Development ()
Member Avatar
The followign is my XML ... I am using an DOM parser to parse and I have put the xml in an hashMap. ie., HashMap<String, HashMap<String,String> to represent the id and the tag values in another hashmap , now when I am trying to iteratethorugh the hashmap it is only …
by vilastadoori in Software Development ()
Member Avatar
Hi, I needed some help with fixing my code. So basically what I am trying to implement is the following: I have 2 radio button (hours and minutes) and under each is a JTextField for each radio button. On the right side there is 2 buttons (+ and -) that …
by Rashmi_1 in Software Development ()
Member Avatar
Hi team, In hibernate one to many relation ship am updating parent setting with child data when am doing session.update(parent) (parent have set with child data) then am committing the its throwing exception saying that Caused by: java.sql.SQLException: ORA-01407: cannot update ("TPIA"."TPIA_TRANSACTION_DATA"."TRX_ID") to NULL.so please help will get appriciate.
by Hari_11 in Software Development ()
Member Avatar
Hello, so here is the program that I am trying to create: write a program to read a collection of exam scores, ranging in value from 0 to 100, until a sentinel of -1 should display the numer of outstanding scores (90-100), the number of satisfactory scores (60-89), and the …
by Kaleena in Programming ()
Member Avatar
Guys I recently discovered that char array can also be printed in java without for loop and the output is a string.But when i tried the same for int array, I got some gibberish value which i though to be memory address pointed by array as it contains reference to …
by Riya@23 in Software Development ()
Member Avatar
I am doing a simple program to calculate the first 15 fibonacci numbers and also placing an asterisk next to even numbers. My output should look like this: I can calculate the numbers easily enough but I can't seem to get the asterisks next to the even numbers. My code …
by ColicabSyke in Software Development ()
Member Avatar
I am having trouble implementing a solution using a binary search tree that returns the key of the node based on it's rank in O(N) worst case running time. Every idea i have (listed below) results in O(N^2) or sends me to a dead end. This almost seems impossible. i …
by rogerfleenor in Software Development ()
Member Avatar
i have created a recursive method that returns the size of a binary search tree, i would like to analyze the running time of my implementation but i dont know how. I know the best case is O(1) if node is null but what about worst case? my researches online …
by rogerfleenor in Software Development ()
Member Avatar
Hi i have a shell script named script .sh that create maven project having parent pom and multiple modules under it as follows: ... I want to run this script from java code i am using mac osx i tried every thing my code that is opening this script is …
by khaled_jawaher -2 in Programming ()
Member Avatar
Hi all, Actually, this question is not related to some coding or logic from my project. But, as I am doing hard and harder projects (acc. to me & my exp.), I am focussing more on design part of my projects. When I present my design to team members for …
by nitin1 15 in Software Development ()
Member Avatar
Hi guys, I am a computer science major and I have been asked to complete a task for someone working in the school of public health at my university. Basically I have to go to this website: ///////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////// and gather all the information which displays after the "detail" button …
by infiniteloop56 in Software Development ()
Member Avatar
you must to clear the history (inside the netbeans), and restart the project,
by lisandroivan in Software Development ()
Member Avatar
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 …
by subhraakasuny -3 in Software Development ()
Member Avatar
Hi. Im trying this java program that's suppose to register the "staff"'s "car" and there's this boolean method that I don't know how to solve. There are 3 classes: Tester, Staff and Car. the boolean part is suppose to check if the staff has 1 or 2 cars registered and …
by nadiam in Software Development ()
Member Avatar
Hi. I have these exercises to do, to write the output of some coding given. I can compile it in eclipse but doesn't mean i understand. can someone please explain this code to me. thank you. ...
by nadiam in Software Development ()
Member Avatar
(SqlExceptionHelper.java:127) SQL Error: 1747, SQLState: 42000 (SqlExceptionHelper.java:129) ORA-01747: invalid user.table.column, table.column, or column specification (AbstractBatchImpl.java:193) HHH000010: On release of batch it still contained JDBC statements (SessionImpl.java:2994) HHH000346: Error during managed flush [could not execute statement]
by Hari_11 in Software Development ()
Member Avatar
Hi there, I have a class definition like : ... I have list of all students. I want to get count, average, min, max etc using IntSummaryStatistics. Below is the code for sub1: ...
by prakash2813 in Software Development ()
Member Avatar
how to interact in multiple modules, can anyone suggest any link or tutorial
by vivekH in Programming ()
Member Avatar
Another common statistical measure is the standard deviation, which provides an indication of how the indivdual values in the distribution differ from the mean. to calculate the standard dev. whose element are x1, x2.....xn you need to perform the ff steps a. calculate the mean of the distribution b. go …
by michael_51 in Computer Science ()
Member Avatar
Hello, I have no experience experience with Java programming and I spend more time lost than anything. I have made an attempt at my week's assignment but I am stuck. Here is the run down of my assignment for that week "Write a Java application using an Integrated Development Environment …
by Jendalin23 in Software Development ()
Member Avatar
hey ,i am new to the site as java bluej , i have drawn a flag using bluej using many objects like circle and rectangle ... i wanna combine the objects into one to move it together , what should i do ? the code source: ...
by Abdennour in Software Development ()
Member Avatar
Hi guys, I wonder if you can help me at all. As some of you will know I do a bit of java development here and there but unfortunately I don't really have any programming background, like, I haven't studied computer science - I just learned (well, that's an overstatement) …
by Violet_82 35 in Software Development ()
Member Avatar
Hey guys, I want to ask which captcha service is a better? im using right now DBC, but it is not so good, can someone recommend better service for recaptchas 4x4? Thanks
by Zaal in Programming ()
Member Avatar
I'm getting my ArrayList from a service and populate my ListView with it when user creates the widget. I have 3 button on my widget and I want to modify/filter the data in the ListView by button click. I saw examples of pending indent but I couldn't reach my ArrayList …
by Kubilay Do─čukan in Mobile Development ()
Member Avatar
I am new to programming and I am trying to fix the Java code errors below and no matter what I do I cannot get it to compile and run. Would anyone mind helping me with this and explain what I am needing to do. Thank you. ...
by KrullFX in Software Development ()
Member Avatar
...I want to start Android app development. Was wondering anyone of you could suggest me the best resources to learn from. I know java but have no idea about Android app development. I hope the resources cover all the basic features that are there in any modern day app like …
by vishalsingh1080 in Mobile Development ()
Member Avatar
Greetings everyone, I'm still new to android programming and currently leanrning how to connect to DB. I'm following a online tutorial but I'm still facing problems. The tutorial is about creat a registration form and sending it to the database through volley. I'm using .hostinger.ae as host and Android studio. …
by nunu_psu in Mobile Development ()
Member Avatar
I need some help with an assignment. It's already done, however my teacher made specific comments thatneeds to be addressed before I can resubmit it. - I have the wrong implementation in insertFront() and removeRear() methods. - I am missing a wrap-around in my peek() methods. - I did not …
by rhaylee in Computer Science ()