Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
85% Quality Score
Upvotes Received
7
Posts with Upvotes
6
Upvoting Members
5
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #1K
~18.8K People Reached
Favorite Tags
Member Avatar for sillyboy

I usually listen to music while I'm browsing here, what are you listening to right now? EL-P - Fantastic Damage

Member Avatar for Helianthus
0
5K
Member Avatar for fahadyousaf

Find the running time complexity of the following piece of code and show [CODE]your working step by step. y=0; x=0; for (i=n; i>0;i=i-1) { y=y+1;} for (i=1;i<=n;i=i*3) { for (j=1;j<=3n;++j) { for(k=0;k<n; k=k+5) { x=x+5; } } }[/CODE] Please guys help me out solving this question .....

Member Avatar for \007
0
457
Member Avatar for Dhruv Gairola

this is inside my servlet: [CODE]ArrayList<String> currentCustomer = model.getAllCustomers(); req.setAttribute("currentCustomer", currentCustomer );[/CODE] how do i access this arraylist in my JSP file? I eventually wanna loop over each string element.

Member Avatar for Dhruv Gairola
0
234
Member Avatar for ravindraravi

Just I am confused to choose which type of programming language for project development....

Member Avatar for Dhruv Gairola
-1
78
Member Avatar for frankel81

I just dont know where to start on this. Can anyone lend me a hand? 4- Write a Java program to create the following array that hold the salaries of employees: 1550.8 2439.5 1800.75 2890.0 The company wants to give the employees a bonus of 30% of their initial salary, …

Member Avatar for plasticfood
0
146
Member Avatar for ARaza110

Vector v = new Vector(); i<10; v.add(new Integer(i));// what does this lien do? I dont understand, what does calling (`new Integer()`) do? Is is calling the constructor and passing the value i in it. Why can't we just pass the value i directly and add it in the vector.

Member Avatar for ARaza110
0
127
Member Avatar for Dartz654

I downloaded the JDK and have started making simple applications (ex: Hello World). Is it possible to put this onto a website, and if so how do I go about doing that?

Member Avatar for Dhruv Gairola
0
185
Member Avatar for shelexelex

Hi, I am having a challenge with this.. I just read a book on Java Applet and there is something that is confusing to me. i need help on that.. There are two programs here... import java.awt.Graphics; import java.swing.JApplet; public class TryMe extends JApplet { public void paint (Graphics g) …

Member Avatar for Dhruv Gairola
0
99
Member Avatar for olsane

how do I create a 2d array, where the user choos the size of the array? or have to make this: 1 2 3 4 5 1 O O O O O 2 O O O O O 3 O O O O O 4 O O O O O …

Member Avatar for Dhruv Gairola
0
105
Member Avatar for Liviu0CODER

Hi, i'm looking to learn a programming language, but i don't know which. Can someone help me? I did some Pascal, C, C++ and Fox Pro in highschool and some HTML, PHP, MySql in faculty. [B]What do you guys advise me to do?[/B]

Member Avatar for Liviu0CODER
0
144
Member Avatar for amras123

for (int i = 0; i < 3; i++) for (int j = 0; j < 3; j++) if (j = i) table [i] [j] = 1; else table [i] [j] = 0;

Member Avatar for Dhruv Gairola
0
86
Member Avatar for rincethomas33

i want to create a menu. if i press the menuitem,then a certain action will occure.. and so on... give the details please...

Member Avatar for Dhruv Gairola
0
123
Member Avatar for coding101

How can I check if an input is a String of alphabet characters..not int double etc etc...

Member Avatar for Dhruv Gairola
0
184
Member Avatar for asif786

I have a compilation error using bluej java. Here is the code: [CODE]while input.equals(!"q")[/CODE] This is the error I get: '(' Could you please help me thanks :) If i add to a semicolon to the end like this: [CODE] while input.equals(!"q");[/CODE] I still get the same error.

Member Avatar for asif786
0
111
Member Avatar for LianaN

Hi! My GUI consists of one main window and it takes 5 seconds before the this window is displayed (after pressing on the "Run" button in Eclipse). I want the window to be displayed at once even though it’s fetching tasks from the service. How could I do that and …

Member Avatar for Ezzaral
0
423
Member Avatar for yap_1991

hi all i have 2 files one of which is a gui, the other a java file. I need to take my gui input and put it through the java file. How do i do that? I've tried calling the classes but the input just doesnt seem to be going …

Member Avatar for yap_1991
-1
155
Member Avatar for Oregand

Hi guys, Im pretty new to programming so bear with me if you think this is baby stuff:P Ive just been introduced to methods last weeks and after a week of study Im no better at understanding them. The problem is I just seem to grasp how to you them …

Member Avatar for Oregand
0
130
Member Avatar for nikilvarma

Hello This is Nikil.Can anyone help me out how to calculate time and space complexity of an algorithm with examples.I am in very much need.Please help me out in detail.

Member Avatar for Dhruv Gairola
0
154
Member Avatar for Dhruv Gairola

Hi there friendly people of daniweb. My problem is that when i double click an executable jar file, nothing happens. Even when i use command prompt and type java -jar "filenae" it doesnt work. Any ideas why?

Member Avatar for Dhruv Gairola
0
115
Member Avatar for yap_1991

Hi all, I have a GUI and working programs, however I need to put the program into the GUI to make it work, but im experiencing the problem that my GUI codes are all in a class and my codes are in man different classes, is there a way to …

Member Avatar for yap_1991
0
198
Member Avatar for titan5

I need to create a large integer array but I am not able to increase its size beyond max int value. How do I create larger arrays?

Member Avatar for afas87
0
3K
Member Avatar for iraqi4life

There is text file with information held on it, with average rainfall per month. 1914,50.9,87,115.8,32.3,47.1,56.6,97.1,63.9,48.1,62.4,110.3,190.8 1914 being the year and the average rainfall follow it. The year goes up to 2008. I created a enumeration which has Jan-Dec (months) And I need to create a class which will store the …

Member Avatar for iraqi4life
0
180
Member Avatar for extemer
Re: JVM

can any body tell me what is basically JVM and for what is it used for.thanks in advance

Member Avatar for Dhruv Gairola
-1
114
Member Avatar for Eric Cute

Can anyone pls suggest if there exist a java IDE that has drag and drop functionality in creating GUI's?? Much like the VB.NEt IDE's. Thanks (",)

Member Avatar for RushabhShah1110
0
173
Member Avatar for fahadyousaf

You are required to develop a simple GUI application for the registration of voters. Your code should take data form user into text fields and save it into a text file. You will make voter class and a GUI. The Voter Class must have following attributes: • National ID Card …

Member Avatar for Dhruv Gairola
-1
83
Member Avatar for Dhruv Gairola
Member Avatar for serph09

The question is asking: A run is a sequence of adjacent repeated values. Write a program that generates a sequence of 20 random die tosses and that prints the die values, marking the runs by including them in parentheses, like this: 1 2 (5 5) 3 1 4 6 1 …

Member Avatar for kezkez
0
181
Member Avatar for drh9

Anyone have much experience in Haskell? I'm a comp sci student and have a project to essentially write a parser and an interpreter in Haskell. Would be grateful if anyone could suggest some resources (books or on web), or if I send in my code if anyone could make suggestions …

Member Avatar for Dhruv Gairola
0
230
Member Avatar for baltik08

problem: the user will input an integer for example 12345 (5 digits) and the output should be: 12345 12345 12345 12345 12345 // depending of how much digit you input or if the user will input lets say 123hi and the output should be 123hi 123hi 123hi // the program …

Member Avatar for Dhruv Gairola
0
791
Member Avatar for nichu

i am doing a desktop application using netbean6.8 how to show error message if i didnt enter mobile number textbox pls help me....

Member Avatar for apines
0
90