Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
63% Quality Score
Upvotes Received
13
Posts with Upvotes
13
Upvoting Members
2
Downvotes Received
4
Posts with Downvotes
3
Downvoting Members
4
2 Commented Posts
~9K People Reached
Favorite Forums

19 Posted Topics

Member Avatar for vishal1949

I have this assignment where I have to make an xml that has movies names and info. Then i have to make a StAX program that locates the xml file and reads it. The program should also be able to count the number of movies in the decade. Thats the …

0
136
Member Avatar for vishal1949

I don't know how to use Notify and wait in my program but I am required to. The point of my program is that there are two threads, one which assigns the inputted object to the numbers 1-10 and another that reads them. Could anyone help. [CODE] package vairables; public …

Member Avatar for Taywin
0
279
Member Avatar for vishal1949

I am making a program in which the program assigns a variable to the numbers 1 - 10. I am suppose to use wait and notify. I put them in but I don't know how to assign the variables to the numbers. My code is and could someone tell me …

Member Avatar for NormR1
0
181
Member Avatar for vishal1949

I am supposed to make a charstack program that has to run an error. This is the Question: [COLOR="Red"]Add explicit error reporting for stack underflow via a checked exception (i.e., one that must be declared and caught). Provide a main program that tests this new capability.[/COLOR] I don't what the …

Member Avatar for JeffGrigg
0
450
Member Avatar for vishal1949

I want to find the average score of a LinkedList. My code is [CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package bowlinggame; import java.util.LinkedList; import java.util.TreeSet; public class BowlingGame { public static void main(String[] args) { TreeSet <String>PlayerNames …

Member Avatar for singh_soorma94
1
1K
Member Avatar for vishal1949

I made a program and want to enter previous dates into a linkedList. My code is [CODE]package bowlinggame; import java.util.Date; import java.util.LinkedList; import java.util.TreeSet; public class BowlingGame { public static void main(String[] args) { TreeSet <String>PlayerNames = new TreeSet<String>(); PlayerNames.add("Steve"); PlayerNames.add("James"); PlayerNames.add("Bob"); for (Object o : PlayerNames) { System.out.println(o); } …

Member Avatar for JamesCherrill
0
109
Member Avatar for vishal1949

I am making a program of a bowling tracker. I made four names and then I have to add specific dates they played and then the score they got on those days. Then print to screen the names, the number of games they played, average score, last games score and …

Member Avatar for NormR1
0
412
Member Avatar for vishal1949

I am making a program of vehicles and i have to make a car garage class. In the class the max amount of vehicles that could enter are 20 or 25000 lbs. I wrote the charstack and the pop() and the push() but dont know how to limit it to …

Member Avatar for raymagosi
1
271
Member Avatar for vishal1949

I am new to programming and I don't know how to make interfaces. My code is : [CODE]public class CarsDescription { /** * @param args the command line arguments */ public static void main(String[] args) { interface Domestic {} interface Import {} interface Japanese extends Import {} interface German extends …

Member Avatar for Ezzaral
1
350
Member Avatar for vishal1949

I just wanted to know what would happen if you abuse the CharStack class by pop()ing more characters than you push()? Would it be an error of out of exception or something else.

Member Avatar for JamesCherrill
0
224
Member Avatar for vishal1949

I'm writing a program but I don't understand the question that well could someone help explain what I have to do. Also, I am having difficulty making the methods could someone help, because I am getting an error every time. This is the Question. Write a cash register class. It …

Member Avatar for thines01
0
2K
Member Avatar for vishal1949

I making a small office word like program. I have four things. A menu bar containing File>Open,Save,Exit. I want to create a short cut for open, save. Could someone help me how to do that. this is my code [CODE]namespace Texteditor { public partial class Form1 : Form { public …

Member Avatar for nick.crane
1
129
Member Avatar for vishal1949

I am making a project using windows form application. i made two other window forms (vehicle.cs and Input.cs). i want to obtain the value from the textbox in input.cs and use it in vehiicles.cs. is There any way to do this. I am trying to make a for loop but …

Member Avatar for vishal1949
1
176
Member Avatar for singh_soorma94

You could do. [CODE]Random randomNumGenerator = new Random();[/CODE] to make it occur a lot of times [CODE]for (int i = 0; i <=15; i++) random = randomNumGenerator.Next(1,7) numOccurrance[random]++//stores it in an array[/CODE]

Member Avatar for skatamatic
0
151
Member Avatar for JJKing22

Well you could create something like this: [CODE]string [] stringArray = new string; stringArray[] = textBox1, textBox2, ... , textBox5[/CODE] then you could create another one with a different name. the for loop you could do: [CODE]string anyname = "" for (int i = 0; i <whatever; i ++) // …

Member Avatar for vishal1949
-1
166
Member Avatar for singh_soorma94

This is my code now but i can't get the percentages of the numbers. [CODE]namespace Dice_Roll_assignment { public partial class diceRoll : Form { public diceRoll() { InitializeComponent(); } private void rollDice_Click(object sender, EventArgs e) { AcceptButton = rollDice; if (txtNumRolls.Text.Trim() == "") { MessageBox.Show("Must enter number of dice rolls"); …

Member Avatar for singh_soorma94
0
305
Member Avatar for vishal1949

I am making a program where i have to write a recursive function that reverses a string. I am a new programmer and need help. The function should return a String and take only one argument, also a String. [CODE]import java.io.*; public class RecursiveFunction { public static void main(String [] …

Member Avatar for JeffGrigg
1
402
Member Avatar for vishal1949

I was writing a program that involves the console inputting integers and strings. For my project i prompt the user to enter the number of strings he would like. Then i prompt the user to enter the strings so i could order them alphabetically. I am supposed to use any …

Member Avatar for Muralidharan.E
1
591
Member Avatar for vishal1949

I am trying to make a program in which the user is prompted to input a number(max length of 4 digits), and then the program shall produce the number of outcomes of a two dice roll meaning that 1 roll includes two die. The outcomes could be 2-12 and I …

Member Avatar for ddanbe
0
1K

The End.