Thank you very much for your advice. Im new to Programming. So struggling even with small programs. I ll try according to your gudence and see.
Type: Posts; User: rayan2004
Thank you very much for your advice. Im new to Programming. So struggling even with small programs. I ll try according to your gudence and see.
When you click on the item on the Combo box, those items should add to JList. (If the item is already in JList, Message will pop up to to avoid Duplicate adding)
Problem is Items on combobox not...
Code Excutes. But when i select items on combo box, it addes all items to Jlist without giving error message to avoid Duplicates.
Sorry about confusion.
Hi
in the following program, Im trying to add some items to Jlist using JComboBox without any duplicates.
I managed to add items with Duplicates, As well as I managed to find duplicates using this...
Hi
Please try to understand why this program produce 100 200 as output. I was expecting out put as 100 200 30 40
class MyClass{
int x=100;
int y=200;
Thank you for your reply. Currently im studding java in a Institute. I got some programs to resolve. But i have to explain in a way how java programs work with memory when running these programs.
Hi.
I started java programming few weeks ago. Im trying to understand how java objects, variable and main program stored inside heap and stack.
I marked with question marks for places where i want...
Wow. Thats really good explanation. I got it. Thank you for your help.
Then i get 33 which is the correct answer.
But for my calculation i get 35 for this x = ++x + ++x + x++; But the correct answer is 33. Im trying to find where im adding extra 2.
This is how i...
Did you mean this?
int x=10;
x=++x+ + +x+x++;
System.out.println(x); // output was 33. But i counted as 35.
Hi Please help to understand this out put of this
int x=10;
x=++x+ + +x+x++; // i counted the output as 35. But correct out put 33. Pls help to understand.
This is how i counted.
++x...
Hi helloworld922
Thank you for your quick response. Yes i managed to understand.
int j = 0;
while (j++ < 2) // j = 0 / j = 1/ j = 2 and condition false.
System.out.print(j); // prints...
This code produce output 1 2, when i use J++ and produce 1 when i use ++J
Please help me to understand, im new to java. Still trying to understand how loops work.
int j = 0;
while (j++ < 2) ...
Hi Again, :)
I took little break from this program. I Managed to get total horizontally. But still im having incorrect figures on my programs. Min value repeats. Also i want to get min max avg...
Im new to Java and programming. Im struggling with this program around 2 days. :(
As i can understand, i need to flip x and y loops. I tried that with my program. But i couldnt get expected out put...
Hi, Thank you for your reply.
I managed to write above program to find min max avg and grade horizontally. ----->
Now i need to print min max avg grade vertically.
student marks...
Hi I have 2D array program prints students marks and next total, grade, max and min.
I Managed to prints total Max..etc Horizontally. (A)
A) Student markes Total Max Min Avg Grade
...
I already tried declaring before that line. but still i didnt get correct result. :( :(
Hi Guys
I'm trying to find max and min values of 2D array. I managed to get the right out put for MAX, But MIN value does not come correct.
Please help me. my code is below -
Regards
Rayan