No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
34 Posted Topics
Re: How about java how to program by deitel and deitel? | |
I am in need of creating a payroll system, I have created setters and getters for classes such as Persons, and COntactInformations, I am wondering how would I put each objects value or the value of it's attributes? | |
I have installed MySql here already, now i need to connec it because I am going to make a project which it needs a Database, but my problem is that I don't know how to set the connector/j/ I don't know how to install it/I don't know how to put … | |
I just wanted to know what famous algorithms that you should have in hand? or be familiar with? or That is always used? | |
I am once again experimenting and Only to find out that java is pass by value, how do I actually manipulate a method or an array that has been pass to another method? for example [CODE]int[]a ={1,2,3,4,5,6}; modify(a); ________________________ void modify(int[] aTest){ aTest[1]=2; }[/CODE] //take note that those arrays are … | |
Why is it that the style is not working? why? [CODE]<html> <head> <title> Starbuzz Coffee</title> <style type=”text/css”> body { background-color: #d2b48c; margin-left: 20%; margin-right: 20%; border: 1px dotted gray; padding: 10px 10px 10px 10px; font-family: sans-serif; } </style> </head> <body> <h1>StarBuzz Coffee Beverages!</h1> <h2>House Blend , $1.49</h2> <p>A smooth, mild … | |
Re: Don't ask for help if you are going to act like that. and just get a freaking calculator if you want to compute it | |
Can anyone help me making ah Case Diagram for Online enrollment? can anyone provide links to a good Case diagram tutorial? and Please help me here | |
What do you do before you start coding/ review/ learn your language or code? what are some websites enhance your brain, or get your brain ready to review. | |
Re: You didn't declared it. just declare it in the main method | |
Yes, I've already checked the pinned thread, all of the suggested books there are for Core java Kindly post good books for J2EE thanks :) | |
Re: I made this type of program once, this is easy, but providing/ exerting effort will do help you a lot . please exert some more effort in posting | |
I am having an error with my constructor, why is that? :| [CODE]public class Name{ private String firstName; private String middleName; private String lastName; public Name(){ this( "null" , "null" , "null"); } public Name(String first){ this(first," "," "); } public Name(String middle){ this(" ",middle," "); } public Name(String fName … | |
Re: it would be nice if you would exert an effort doing it rather than typing that here, no one is gonna do your homework for you, you can atleast try, | |
Re: it would be good it you will turn this into a switch. | |
Guys help me please, the equation on 2/3 is giving the waterTemp to 0; how come it is not changing? and also, if the nWaterTemp reached 20.00or somewhere 20.00 to 21.00; it is supposed to print that "THe kettle is now on "Help please [CODE]#include<stdio.h> #include<stdlib.h> #include<cstdlib> #include<time.h> void wait … | |
What is the best book to learn ,PHP,Javascript,DHTML, and AJAX? | |
I've already read the stickied about "STarting java" but the thing is I am not starting java, soo my question is, what's the best book to learn core java and Java EE? and what's their difference and it would be good if you will site the books you've read regarding … | |
Re: I wouldn't go to details but , programming changed me a lot, first is that, I always use to be lazy kid who doesn't even care about the world, but when I learned programming I started analyzing everything, I even trace odd events that occured on that/this day, Coding practices … | |
I am currently learning Java, I am using a book Java how to program 8th edition by the deitel and deitel company, and I was wondering I was researching about java and I found these out, Core java and j2ee. what do I really need to learn in order for … | |
Re: I actually learned PHP by accident, you see we've had a lousy professor in our Database management class, not only being lousy he demanded projects so bad,Tons of homeworks, and other pain in the ass crap that professors give, and then He gave us a project where we will create … | |
Re: try the code out for yourself, and do some manual computations, and it would be also nice if you are going to debug/ trace your program rather than Asking people here :D | |
[CODE]public class Briefcase{ private int amount; private String face; private boolean isOpen = false; public Briefcase(int amount,int cNumber){ this.amount = amount; this.face = Integer.toString(cNumber); } public void removed(){ isOpen = true; face = "X"; } public boolean isRemoved(){ return isOpen; } public int getAmount(){ return amount; } public String toString(){ … | |
Recently I've just finished my first term in college about java programming, and even before I started my First term in college I already know stuff about java, but to keep this short, all I want to know is where do I go now? what topic should I study? should … | |
How to send the session data in one page to another? here's my code because I am going to bill out all of the orders and Name and ID of the current user logged int , the PHP code [CODE]<?php session_start(); include("Connection.php"); if (isset($_POST['submit'])) { $name = $_POST['customerName']; mysql_query("INSERT INTO … | |
So basically I am done with my project, I've passed to our instructor already, and I've achieved an above average grade, but one thing though I am still not satisfied, can someone check this code out for me? give me few tips? ? or tricks about this? here's my code … | |
is there anyway to generate numbers from 0.0 to 999 999 without repetition? I am thinking of making an array that you can put 27 integer datas in it like this [CODE]double amounts[] = { 0, 0.01, 1000000, 25, 250000, 75, 50, 1000, 200, 100, 400000, 750, 5000, 750000, 500, … | |
Hi guy how do I randomize these numbers inside this arrays? [CODE] private double amounts[] = { 0, 0.01, 1000000, 25, 250000, 75, 50, 1000, 200, 100, 400000, 750, 5000, 750000, 500, 100000, 300, 75000, 800, 20, 300000, 10, 50, 750, 25, 5, 1 };[/CODE] I want to randomize them … | |
Can anyone help me with this? or alter the code of mine when it comes to the user Input here's the block of code of mine [CODE]public int Remove(int i, Briefcase c[], String[] m) { int nChoice = 0; System.out.print("\tPlease remove " + i + " cases: "); nChoice = … | |
[CODE]public void starGame() { boolean gamestatus = true; casesSetup(); Welcome(); showCases(); setladies(); int choice = player.nUser(); myAmount = briefcase[choice].getAmount(); briefcase[choice] = null; cases--; while (gamestatus == true) { offer = player.offer(turn, briefcase); showCases(); if (cases == 25 || cases == 19 || cases == 14 || cases == 10 || … | |
[CODE]public class GAME { boolean gamestatus = true; double amounts[] = {0, 0.01, 0.5, 1, 5, 10, 11, 14, 20, 300, 600, 150, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28 }; Briefcase briefcase[] = new Briefcase[27]; public void casesSetup(){ for (int i … | |
Can this code of mine be more efficient? [CODE]import java.util.Scanner; public class Game { public static void main(String args[]){ boolean gamestatus = true; //Boolean to control the whole game double total = 0; //Temporary variable for storing the average Banker banker = new Banker(); //creation of the object banker; int … | |
I am working on may code and I received a null pointer error , how do I fix this? all I wanted to do was remove the selected array here's my code [CODE] import java.util.Scanner; public class Game { public static void main(String args[]){ Scanner input = new Scanner( System.in … |
The End.