- Strength to Increase Rep
- +2
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Dear All, Could you tell me what is wrong or missing for my coding? Cheers, [CODE] unit Example3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Edit1: TEdit; Edit2: TEdit; Edit3: TEdit; Edit4: TEdit; Edit5: TEdit; Button1: TButton; Button2: TButton; Edit6: TEdit; … |
|
Hey everyone, first time one here and i thought i would show my most recent university java assignment. I'm just looking for feedback... wanna see if i am developing good habits or bad. the assignment is completed and marked by my uni so i am not looking for help.. they … |
|
Im abit confused about the problem im solving right now. it says that i will create a program that would let me input any word, and count how many letters are there. and afterwards i will also make another statement letting me input any letter,then the program would determine if … |
|
If you are writing a switch statement that takes in a scanner type, how do you prevent a runtime error if a string or char is entered. [CODE]Scanner s = new Scanner(System.in); int a; a = s.nextInt(); switch(a){ }[/CODE] So if i ran the code and entered "abc" then i … |
|
Hi All, I wish to source a Std Serial Comms Component, hopefully freeware, for Delphi 6 or 7 Can someone pass a link or email me? [email]telkomgjl@telkomsa.net[/email] Thanks! Gerhard |
|
i missed lecture today and this is what they did in class. im not sure how to complete this. hope you all can help me out. [code] class Clock { // Declare fields of the class // 0 <= hours < 24, 0 <= minutes < 60, 0 <= seconds … |
|
im a beginner in Java and I need the user to input a year month and day and then put it in the form of yyyy-mm-dd using the Date class but I keep getting the "week day, month, date, time, year" this is part of the code [CODE]Scanner input = … |
|
ok so my original code was: [CODE] Patient patient = new Patient(); patient.setId(1); patient.setName("luke"); patient.setAddress("100 test"); patient.setTelNumber("01484710204"); patient.healthproblem.setBrainProblemName("Brain Cancer"); patient.healthproblem.setDateDiagnosed("30-03-1990"); patient.healthproblem.setPatientHealth("Poor"); Patient patient1 = new Patient(); patient1.setId(2); patient1.setName("john"); patient1.setAddress("100 test"); patient1.setTelNumber("01484710204"); patient1.healthproblem.setLungProblemName("Lung Cancer"); patient1.healthproblem.setDateDiagnosed("12-02-1991"); patient1.healthproblem.setPatientHealth("Poor"); patient1.healthproblem.setLungProblemSide("Left"); if ("luke".equalsIgnoreCase(patient.getName())) { out.writeObject(patient); } else if ("john".equalsIgnoreCase(patient.getName())) { out.writeObject(patient1); }[/CODE] so when the … |
|
First, I want to say that I am Java beginner and I do not have a lot of experience. This is my 2nd program. My objective is to write a program using stacks to see if a line inside of a file such as test.txt has matching scope symbols such … |
|
Hello, I am studying for SCJP 6 Exam, and came across this question which shows code as asks for the output [CODE] 3. public class Ebb { 4. static int x = 7; 5. public static void main(String[] args) { 6. String s = ""; 7. for(int y = 0; … |
|
Why is it that when I invoke the Derived constructor from the main method, I get a compilation error pointing to the Derived constructor of the Derived class. I never called the Base constructor of the Base class. Therefore why is the error happening?. [CODE] class Base { private Base() … |
|
Hi, I have an urgent ugly problem. I have a php file on a server that reads the name of the files of a directory from the server and POST them to my java application. When I try to read it, i get [CODE]Server returned HTTP response code: 400 for … |
|
For Example: java is an object oriented language. it has many feature including 1.1 robust 1.2 inheritance. java is a interesting language. I need output as follows: java is an object oriented language. it has many feature including 1.1 robust 1.2 inheritance. java is a interesting language. Note: I need … |