Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
92% Quality Score
Upvotes Received
13
Posts with Upvotes
13
Upvoting Members
10
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
6 Endorsements
Ranked #299
Ranked #977
~21.2K People Reached
About Me

More likely not as good programmer as you are!

Interests
Unknown
PC Specs
Intel Core 2 Quad, 2GB RAM, 1 GB NVIDIA GeForce 9400 GT, 750GB HDD
Member Avatar for laguardian

So, I've created a program that when a user inputs a type of vehicle, it will print how much will the user pay for their fare. Here's what I have so far: How do I call the methods Vehicle, Vehicle1, etc.. so that I am able to print the fare …

Member Avatar for stultuske
0
3K
Member Avatar for blackcathacker

No double posting. Add only one to the number of the previous poster. Go! 0.

Member Avatar for cproger
0
637
Member Avatar for dimasalang

Hi experts, I just want to ask if it is possible to add images/videos when creating page in websphere portal 7? Tried searching but no luck. thanks in advance.

Member Avatar for LastMitch
0
84
Member Avatar for JWarren1996

All I'm tryin to do is set this up to show the array in the command prompt screen. everything looks good to me, > C:\Users\Work Time\Desktop>javac SearchSource.java but I keep getting this: SearchSource.java:7: error: <identifier> expected System.out.print(); ^ 1 error Heres the program: public class SearchSource { public static void …

Member Avatar for JWarren1996
0
2K
Member Avatar for losh177

Hi, I'm having problems with line 37 in my Driver class. I know that I get that error because, according to Java, the variable Task, in the Driver, has not been initialized, but I do not see how I'm not initializing it. Thanks [CODE]import java.util.Scanner; import java.io.*; public class Driver …

Member Avatar for dimasalang
0
295
Member Avatar for taylor.mitchell.353

My Text file is below. The bounds should be 0-2 for letter A or D then 2-15 for StateName(these are new states being added to a stack) and 15-25 for what should be the capital, but not all of them have capitals and for those I am getting an out …

Member Avatar for JamesCherrill
0
156
Member Avatar for sephzy

Hey there, Just hit a road block in my assignment. I won't concern you too much with the assignment itself but it's basically a number input operated menu with option's like "Display employee details" & "Input pay details." I'm up to a part where I need to get the section …

Member Avatar for JamesCherrill
0
326
Member Avatar for veeeeebeeeee

-We should only be able to enter ISBN's in this format, 0-1234567-8-9 or 0-1234567-8-X. -What I have now automatically inserts hyphens at a certain text length but doesn't let me delete the hyphens that have been added (besides the last one) -So how would I be to delete the hyphens? …

Member Avatar for TnTinMN
0
300
Member Avatar for dimasalang

Hi All. I just want to ask how are reputation points acquired or given? Is it automatic? or is it given by fellow community members? I just can't figure it out. Thank you. :)

Member Avatar for Ancient Dragon
0
572
Member Avatar for taylor.mitchell.353

I’m not sure why this isn’t working. Java isn’t giving me an error I have this in my StateController class public void insertLinks() { for(int index=0; //index is a local variable for state objects index < numStates; index++) //for loop to continue making state objects stopping at numStates(50) { myList.insertFirst(myStates[index]); …

Member Avatar for dimasalang
0
365
Member Avatar for OsaidAz

so I have a 2D arry with defaul value 0, and what I want to do is to accept a value from a user to change 0s to 1s depending on the accepted value. for example: we have an arry like this 0000 0000 0000 0000 and the user enters …

Member Avatar for OsaidAz
0
142
Member Avatar for randmateweb

Recently I learnt java as a crash course in a private institue they covered me core and advanced core concepts in java for the version 1.6. Since the lastest version is java 1.7, so which book I should follow for my further improvements to become an ideal Java programmer.

Member Avatar for JamesCherrill
0
137
Member Avatar for rahul.ch

<? super Animal> means animal or it's superclass only. Then why inside the method it's allowing to add Dog object even though it's a subclass of Animal? This program compiles and runs! import java.util.*; class Cat {} class Animal{Animal() {System.out.println("Animal constructor");}} class Dog extends Animal{Dog() {System.out.println("Dog constructor");}} public class GenericDemo5 …

Member Avatar for rahul.ch
0
335
Member Avatar for akosivivas
Member Avatar for dimasalang
0
93
Member Avatar for drj08

overload resolution failed because no accessible 'new' can be called with these arguments.. the error shows at the Dim *dataadapter* As New SqlDataAdapter(sqlCmd, connection) Imports System.Data.SqlClient Public Class Form1 Private Sub BtnGenResult_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnGenResult.Click Dim ConnectionString As String = "Data Source=(local)\SQLEXPRESS; AttachDbFilename=D:\PKBW Batching …

Member Avatar for dimasalang
0
2K
Member Avatar for gorgoro

I want to start as junior in Java in a company but they ask me to present them some tasks that ensures that i am more than a junior.they offer me a task to create a Swing Gui with buttons and stuff.I have already a good knowledge of Java from …

Member Avatar for gorgoro
0
266
Member Avatar for drj08

Hye, can one please explain to me about the code below. I need to know what exactly should be inside Field1 and Field2? I'm new to vb.net. I know that tbltemp should be the name of our table but im confused about the Field1 and Field2. Dim strSQL as String …

Member Avatar for dimasalang
0
218
Member Avatar for diwanpujari

hi this is diwan pujari i wants to know the main diffrences between win 7 and win 8 . is any body knows i am using win 7 and going to buy win 8 tel me tel me is it right choise to buy or not

Member Avatar for dimasalang
0
96
Member Avatar for asrith001
Member Avatar for AndreRet
0
155
Member Avatar for Red_Rain

Hey Guys, Im new to learning java and I am writing a few programs for practice. I cant figure out whats wrong with my code. When i try to compile i get an "error . class expected" Any advice is appreciated, thank you. import javax.swing.JOptionPane; public class TuitionCost { public …

Member Avatar for dimasalang
0
146
Member Avatar for summey

I am trying to figure out how to distiguish if the user input was a string or a int. The out put i am looking for is please enter a string: cat please enter a string: dog please enter a string: hamster please enter a string: 1234 please enter a …

Member Avatar for summey
0
992
Member Avatar for compulove

I am writing a program that is a multi-form inventory program for a bookstore with data saved in a textbox. Here is what I need to do: * Write a menu-driven multiform inventory program for a bookstore with data saved in a text file. 1. Each record of the text …

Member Avatar for AndreRet
0
201
Member Avatar for k22mac

I am taking an intro level java programming class and i am a little stuck at the moment. I'm trying to use a the replace method. My objecti with this program is to gather a phrase from the user and then have it print the same phrase with some characters …

Member Avatar for dimasalang
0
111
Member Avatar for jamesmadison43

I am supposed to create an arraylist from an integer[] array, iterating the elements in the list in decending order ex: int[] array = {1,4,2,3,5}; goes into array list to become {5,4,3,2,1} how do i even being to do this (without first sorting the array and then putting it into …

Member Avatar for jalpesh_007
0
298
Member Avatar for nsharif

Hi, This is my first post, I usually find solution by searching this forums However, I been working on my problem for 6 hours with no solution. Here what I'm trying to do I have a class that extends as JPanle also it implements ActionListener I'm trying to add JScrollPane …

Member Avatar for dimasalang
0
169
Member Avatar for Prisms

Hey guys I'm new to java and was wondering if I could have a little assistance. I need to have a user input their number of classes, hours for each class and the grade they received after the information is given i need to calculate their GPA. I have gotten …

Member Avatar for Prisms
0
3K
Member Avatar for NexG

import java.util.Scanner; public class fibonacci{ public static void main(String[] args){ int n=0; int fib = n+1; Scanner X=new Scanner(System.in); System.out.print("Enter # of the term: "); n = X.nextInt(); for (int i=3; i<=n; i++) { i = i-1 + i-2; } System.out.print("Term is: "+n); } } I know the algorithm is …

Member Avatar for NexG
0
153
Member Avatar for dimasalang

hello.. just want to ask if it's possible to save html form field values in an xml file without using any server side script like ajax or php. i just want to use javascript and i want to do it offline witthout using any server like tomcat. is it possible? …

Member Avatar for dimasalang
0
2K
Member Avatar for mrjillberth

[CODE]import java.io.*; public class Prime{ public static void main(String[] args) throws IOException { BufferedReader jill = new BufferedReader (new InputStreamReader (System.in)); boolean isPrime = true; System.out.print("Enter number: "); int input = Integer.parseInt(jill.readLine()); if(input < 2){ isPrime = false; } if (input == 2) { isPrime = true; } if (isPrime) …

Member Avatar for mrjillberth
0
161
Member Avatar for kheijhei

hi there! guys can you help me how the form will automatically close in 5 or 10 seconds and so on? like a countdown timer, when the time runs out then it will close automatically? give me some specific codes. tnx! :|

Member Avatar for SpiritualMadMan
0
1K