User Profile

Collapse

Profile Sidebar

Collapse
outofmymind
outofmymind
Last Activity: Feb 26 '07, 06:12 PM
Joined: Oct 29 '06
Location: California, USA
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • outofmymind
    started a topic is there a simpler way of doing this??
    in Java

    is there a simpler way of doing this??

    Ok this is the last question for today,

    I'd like to know if theres a "shorter" way to solving this problem, oh and btw, i keep gtting a exception :(

    here's the que:

    Student number and Marks of all students in final of subject CSCI213 are written into a text file “exam.in”. (5 marks)
    Write an application to do the following tasks:
    •Find the average of marks of all students...
    See more | Go to post

  • outofmymind
    started a topic Readinf from files in java
    in Java

    Readinf from files in java

    Hi,

    Can anyone please teach me a simple way of reading from a file and closing it, etc.

    thanks
    See more | Go to post

  • outofmymind
    started a topic Gui
    in Java

    Gui

    (A) Complete the program by writing appropriate statements in the places indicated so that the program produces a GUI.
    (Note: There are at most 8 statements missing in the main program and 2 import statements are missing.) what I did is indicated by the comments, there are some spaces that i couldnt fill up.

    Code:
    -----------
    ---------------
    public class TempConvertGUI extends JFrame implements 					ActionListener{
    ...
    See more | Go to post

  • outofmymind
    replied to help with these practice questions!!
    in Java
    No your not wasting your time, I seriuosly went through your classes before you even recomended them to me. I agree with abctech -> thanks for taking out the time to answer my problems, I must've been a pain for the last couple of days. Thanks for bearing with me :) Things are much clearer now, just have to see myself tomorrow :s...
    See more | Go to post

    Leave a comment:


  • outofmymind
    started a topic parameters...
    in Java

    parameters...

    hi again,

    My instructor mentioned once in class when we were getting details of our exam, that its important to know parameters. We should know about them, how to pass them etc. But i dont know how my instructor will get us to do something with parameters in the exam, becuase when we write programs in eclipse we go to run -> parameters-> apply.....etc.

    any suggestions?

    thanks
    See more | Go to post

  • outofmymind
    replied to pre exam study help needed
    in Java
    Thanks for your help r035198x !!!!

    When i saw your code i wa ssurprised that it turned out to be that way when i 1st tried it out i had the "name" and "score" as the names of my attributtes for the class students, but then i got confused seeing that they are declared as arrays in the tester program.
    I understood the program you did, once again i expected something more complex than that, that's why i got...
    See more | Go to post

    Leave a comment:


  • outofmymind
    started a topic pre exam study help needed
    in Java

    pre exam study help needed

    Hi,

    i've been practicing again......my exam is tomorrow :( and this is another practice question that my instructor told us to practice on, its not that easy, it was from a past final exam paper, so please help me out. I only did one little bit of it, and im 100% sure that its wrong......plea se bear with me :(

    Here's how it goes:

    Code:
    public class BadStudentScores {
    	    public BadStudentScores() {
    ...
    See more | Go to post

  • outofmymind
    replied to help with these practice questions!!
    in Java
    Im going to do my final exam for my java course this week :( and its such a difficult subject :( I've been preparing myself for it for so long. I've been solving all kinds of questions, but it seems that it cant sink in yet............ <sigh> :(...
    See more | Go to post

    Leave a comment:


  • outofmymind
    replied to Xml
    in Java
    Thanks!! how can i open my xml with internet explorer......i s it a long process?
    thanks again!...
    See more | Go to post

    Leave a comment:


  • outofmymind
    replied to help with these practice questions!!
    in Java
    This is unfair! :( I've been studying java all week and i cant seem to get anything right :( Thanks for your help!!! Hope i pass the exam :(
    See more | Go to post

    Leave a comment:


  • outofmymind
    started a topic help with these practice questions!!
    in Java

    help with these practice questions!!

    Hi again,

    I've been solving these questions from past exam papers, and im not entirely confident about my answers. Im hoping that you guys can double check them for me.

    These are the questions:

    1- Which of the following methods must be over-ridden in order to tell the system how to execute a Thread?
    (A) thread()
    (B) execute()
    (C) start()
    (D) run()

    2- Which of...
    See more | Go to post

  • outofmymind
    replied to Xml
    in Java
    Hi,

    Thanks for your help!! :)

    Is this good?? Or do I have it all stuffed up?? :(

    [PHP]<?xml version = ”1.0” ?>
    <Order>
    <Pizza>
    <Customer>
    <name> My Pizza </name>
    <address> Kitchen </address>
    <phoneNumber> 065432198 </phoneNumber>
    </Customer>
    <description>
    <size>...
    See more | Go to post

    Leave a comment:


  • outofmymind
    replied to Xml
    in XML
    Ohhh ok thanks i'l work on it and post it in the XML forum, i just thought that since this was part of the java course that im doing i should post it here........tha nks alot anyway,...
    See more | Go to post

    Leave a comment:


  • outofmymind
    replied to Xml
    in XML
    Ohhh ok thanks i'l work on it and post it in the XML forum, i just thought that since this was part of the java course that im doing i should post it here........tha nks alot anyway,...
    See more | Go to post

    Leave a comment:


  • outofmymind
    replied to Xml
    in Java
    Ohhh ok thanks i'l work on it and post it in the XML forum, i just thought that since this was part of the java course that im doing i should post it here........tha nks alot anyway,...
    See more | Go to post

    Leave a comment:


  • outofmymind
    replied to Xml
    in XML
    Xml

    Hey,

    I came across this question, this is the 1st time I write a XML file, and I have no idea if my work is correct, or if thats how its supposed to be.......please give me your feedback:

    Consider the following XML file that describes a pizza:
    An order for a Pizza in a restaurant, stores the name, address, and the phone number of the customer. It stores also the description of one or more pizzas....
    See more | Go to post

    Leave a comment:


  • outofmymind
    started a topic Xml
    in XML

    Xml

    Hey,

    I came across this question, this is the 1st time I write a XML file, and I have no idea if my work is correct, or if thats how its supposed to be.......please give me your feedback:

    Consider the following XML file that describes a pizza:
    An order for a Pizza in a restaurant, stores the name, address, and the phone number of the customer. It stores also the description of one or more pizzas. A pizza has a...
    See more | Go to post

  • outofmymind
    started a topic Xml
    in Java

    Xml

    Hey,

    I came across this question, this is the 1st time I write a XML file, and I have no idea if my work is correct, or if thats how its supposed to be.......please give me your feedback:

    Consider the following XML file that describes a pizza:
    An order for a Pizza in a restaurant, stores the name, address, and the phone number of the customer. It stores also the description of one or more pizzas. A pizza has a...
    See more | Go to post

  • outofmymind
    replied to please help!!
    in Java
    thanks, i was worried that it might be wrong :s

    outofmymind ;)...
    See more | Go to post

    Leave a comment:


  • outofmymind
    started a topic please help!!
    in Java

    please help!!

    Hi,

    i've been trying to solve some java questions, to prepare for a test. I came across a question and im not sure if my answer is correct or not. Is it ok if you guys check it for me and give me your feedback?

    this is the question:

    What does the following code do with the array list accounts.

    Code:
    public class Bank
    {
        public BankAccount doSomething(int accountNumber)
    ...
    See more | Go to post
No activity results to display
Show More
Working...