Can someone execute this program?

Can someone execute this program for me and tell me if it works correctly? My DOS is acting funny.
look for these things:
- accepts input from keyboard and places them into an array
- continues to accept names until a blank name is entered
- array can contain up to 15 names
- after all names are entered, it displays the contents of the array
and writes them to a file
- output should be in 2 columns
if you see a problem, please tell me how to fix it.
import java.io.*;
* the purpose of this program is to read data from the keyboard
* and put it into a sequential file for processing by ReadFile
* @author Maya Crawford
public class Lab0
* this function will prompt and receive data from the keyboard
* @return String containing the data read from the keyboard
* @param BufferedReader that is connected to System.in
*/ (keyboard)
public static String getData(BufferedReader infile)
throws IOException
System.out.println("enter a name");
return infile.readLine();
* this is the main program which will read from the keyboard and
* display the given input onto the screen and also write the data
* to a file
* @param Array of Strings (not used in this program)
public static void main(String[] args)
throws IOException
int i;
String[] outString = new String[16];
DataOutputStream output=null;
// this code assigns the standard input to a datastream
BufferedReader input= new BufferedReader(new InputStreamReader(System.in));
// this code opens the output file...
try
output= new DataOutputStream(new FileOutputStream("javaapp.dat"));
// handle any open errors
catch (IOException e)
System.err.println("Error in opening output file\n"
+ e.toString());
System.exit(1);
// priming read......
for(i=0;i<outString.length;i++)
outString=getData(input);
// this is the loop to continue while nnonblank data is entered
while (!outString.equals(""))
for(i=0;i<outString.length;i++)
outString[i]=getData(input);
outString[i] = input.readLine();
System.out.println("Name entered was:"+ outString[i]);
output.writeBytes(outString[i]+"\r\n");
int rcol=(outString.length+1)/2;
for(i=0;i<(outString.length)/2;i++)
System.out.println(outString[i]+"\t"+outString[rcol++]);
// flush buffers and close file...
try
output.flush();
output.close();
catch (IOException e)
System.err.println("Error in closing output file\n"
+ e.toString());
// say goodnight Gracie...
System.out.println("all done");

Ok, here is what I came up with. I commented most of what I changed and gave a reason for changing it. My changes aren't perfect and it still needs to be tweeked. When you run the program you have to hit the enter key every time once before you type a name. When you are done typing names hit the enter key twice and it will output the names entered into the array. Like I said, it isn't perfect, and that part you will need to fix.
import java.io.*;
* the purpose of this program is to read data from the keyboard
* and put it into a sequential file for processing by ReadFile
* @author Maya Crawford
public class Lab0
     * this function will prompt and receive data from the keyboard
     * @return String containing the data read from the keyboard
     * @param BufferedReader that is connected to System.in
     */ //(keyboard)
     //On the above line where you have (keyboard), it wasn't commented out in your
     //program and it was throwing a error.
     public static String getData(BufferedReader infile)
     throws IOException
          System.out.println("enter a name");
          return infile.readLine();
     * this is the main program which will read from the keyboard and
     * display the given input onto the screen and also write the data
     * to a file
     * @param Array of Strings (not used in this program)
     public static void main(String[] args)
     throws IOException
          int i;
          String testString; // Created to hold the string entered by the user, because your
                             // outString array wasn't working for that.
          String[] outString = new String[16];
          DataOutputStream output=null;
          // this code assigns the standard input to a datastream
          BufferedReader input= new BufferedReader(new InputStreamReader(System.in));
          // this code opens the output file...
          try
               output= new DataOutputStream(new FileOutputStream("javaapp.dat"));
          // handle any open errors
          catch (IOException e)
               System.err.println("Error in opening output file\n"
               + e.toString());
               System.exit(1);
          // priming read......
          testString = " ";  // Initialize testString
          int placeMark = 0; // to input the String entered by the user into the outString
                             // array, it needs to know which position to enter it into.
          while (!testString.equals(""))
               testString=getData(input);
               testString = input.readLine();
               System.out.println("Name entered was:"+ testString);
               // Put the testString into the outString[] array.
               // A lot of the time when you used outString you forgot to use the [x] to indicate
               // which position you wanted to access.
               outString[placeMark] = testString;
               output.writeBytes(testString+"\r\n");
               placeMark++;
        // Created a do/while loop to display the list of outString.
          int nextEntry = 0;
          do
               System.out.println(outString[nextEntry]);
               nextEntry++;
          }while(!outString[nextEntry].equals(""));
          // flush buffers and close file...
          try
               output.flush();
               output.close();
          catch (IOException e)
               System.err.println("Error in closing output file\n"
               + e.toString());
          // say goodnight Gracie...
          System.out.println("all done");
}

Similar Messages

  • Can someone modify this program plzzzz help................

    hi i am building a small application n i need ur help . I want to take password from console in hidden format.
    as i am not a good programmer plzzzz dont advice to use passwordfield or Jpasswordfield or setEcho or setEchoChar as i hav tried it .....as i am taking input from console...... if its possible plzzzzz help me
    here is the code
    import java.io.*;
    class login
         public static void main(String[] args) throws IOException
              String name,password1="",password2="",login1="",login2="";
              char ch12[]=new char[40];
              File f=new File("PASSWORD.txt");
              BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
              if((f.exists())==true)
              System.out.println("Enter User name");
         name=br.readLine();
         System.out.println("ENTER THE PASSWORD");
         password1=br.readLine();
         login1=name+":~"+password1;
              else
    System.out.println("WELCOME TO VOS FOR THE TIME PLZ ENTER THE USER NAME N PASSWORD");
    System.out.println("Enter User name");
         name=br.readLine();
    System.out.println("ENTER THE PASSWORD");
         password1=br.readLine();
    System.out.println("plz CONFiRM THE ENTERED PASSWORD");
         password2=br.readLine();
    while(!(password1.equals(password2)))
    System.out.println("SORRY U HAVE Entered TWO DIFFERENT PASSWORDS");
    System.out.println("plz ENTER THE PASSWORD again");
              password1=br.readLine();
    System.out.println("plz CONFORM THE ENTERED PASSWORD");
         password2=br.readLine();
    login1=name+":~"+password1;
    byte ch[]=login1.getBytes();
         FileOutputStream out=new FileOutputStream(f);
         out.write(ch);
         out.close();
    System.out.println("USER NAME AND PASSWORD IS SAVED");
         System.out.println("ENTER USERNAME AND PASSWORD TO LOGIN");
         System.out.println("Enter User name");
         name=br.readLine();
         System.out.println("ENTER THE PASSWORD");
         password1=br.readLine();
         login1=name+":~"+password1;
              FileInputStream fis=new FileInputStream(f);
              int x=fis.available();
              for(int i=0;i<x;i++)
              ch12=(char)fis.read();
              login2=login2+ch12[i];
         if(login1.equals(login2))
    System.out.println("LOGIN IS SUCCCESSFUL");
    else
         System.out.println("INCORRECT USER NAME OR PASSWORD");
    do
    System.out.println("AUTHENTICATION FAILS");
    System.out.println("PLZ ENTER THE USER NAME AGAIN");
         name=br.readLine();
    System.out.println("PLZ ENTER THE PASSWORD AGAIN");
    password1=br.readLine();
    login1=name+":~"+password1;
              if(login1.equals(login2))
    System.out.println("LOGIN IS SUCCESSFUL");
              while(!(login1.equals(login2)));
    Message was edited by:
    omerali0527

    You need the latest JDK for this:
    http://java.sun.com/javase/6/docs/api/java/io/Console.html
    look at the readPassword() method.
    Next time please
    - use code tags (http://forum.java.sun.com/help.jspa?sec=formatting);
    - stop using that silly sms-language (plz = please, u = you, n = and).
    Thanks

  • CAN SOMEONE FIX THIS????

    Hello, I can't get my program to work at all, I keep getting errors. Can someone please see if they can fix these Exception errors. I've posted tons of topics but I still can't get this program to run.
    I use these text files in the program.
    EVENT.txt
    1 C++ Programmer
    2 Business Management
    STCLASS.txt
    1 Tech Apps
    2 Computer Programming
    3 AP Computer Science
    4 AB Computer Science
    5 AP Biology
    6 AP US History
    STINFO.txt
    34865-Joe Peace-2003-01-02-1-2-3-4-5-6
    89398-John Carr-2003-04-05-1-2-3-4-5-6
    Here is The Actual Program, Can anyone get rid of the Exception Errors:
    //Program Starts Here
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    public class TrivialApplet extends Applet implements ItemListener, ActionListener
         TextField text1;
         CheckboxGroup checkboxgroup1;
         Checkbox checkbox1, checkbox2, checkbox3;
         Button adder;               //Button in addperson()
         Button cpsubmit;          //Button in clienpart()
         Button quit;               //Button in addperson() and search() - Returns to clientpart() when pressed
         Button ssubmit;               //Button in search()
         int where;                    //'Where' is the current position the user is in the program
         int what;                    //'What' is current checkbox that the user has selected
         int searcher;               //What User Is Searching for (ID, Event, Or Class)
         String line;               //'line' is used when a line is taken from a text file
         PrintWriter fileOut;     //Output to textfile Variables
         BufferedReader fileIn1,fileIn2,fileIn3;     //Inputting from textfile variables
         ******************************************** init() *******************************************************************
         public void init()
              what = 0;
              where = 0;
              searcher = 0;
              quit = new Button("Return To Menu");
              clientpart();
         ******************************************** clientpart() *************************************************************
         public void clientpart()
         removeAll();                                             
         setSize(300,200);
         where = 1;
         setLayout(new GridLayout(4,1));                                        //Sets Layout of Screen
         checkboxgroup1 = new CheckboxGroup();                         
         checkbox1 = new Checkbox("Search For A Person",false,checkboxgroup1);                    //Check Box
         checkbox2 = new Checkbox("Enter New Person Into Database",false,checkboxgroup1);
         cpsubmit = new Button("Submit");
         Label info;
         info = new Label("Select An Option And Press Submit", Label.CENTER);
         add(info);
         add(checkbox1);
         add(checkbox2);
         add(cpsubmit);
         checkbox1.addItemListener(this);
         checkbox2.addItemListener(this);
         cpsubmit.addActionListener(this);
         ******************************************** addperson() **************************************************************
         public void addperson() throws IOException
         setSize(400,300);
         PrintWriter fileOut = new PrintWriter(new FileOutputStream("C:/Documents and Settings/Joe/AP Programs/BPA Database/STINFO.TXT", true));
         where = 2;
         removeAll();                                                            //Remove everything from applet
         Label stat;
         stat = new Label("Select A Field, Enter Info, And Click Submit", Label.CENTER);
         setLayout(new GridLayout(5,1));
         add(stat);
         text1 = new TextField("ID-Name-Graduating Year-Event 1-Event 2-Class 1-Class 2-Class 3-Class 4-Class 5-Class 6");//New TextField
         checkboxgroup1 = new CheckboxGroup();                              //A group of checkboxes, allows only ONE click
         adder = new Button("Submit");                                        //Submit button
         add(text1);                                        
         add(adder);
         add(quit);
         adder.addActionListener(this);                                        //Checks for button actions
         quit.addActionListener(this);
         ************************************************** search() ***********************************************************
         public void search() throws IOException
         setSize(400,300);
         /********************************************** Variables to get info from text files *******************************/
         fileIn1 = new BufferedReader(new InputStreamReader(new FileInputStream("C:/Documents and Settings/Joe/AP Programs/BPA Database/STINFO.TXT")));
         fileIn2 = new BufferedReader(new InputStreamReader(new FileInputStream("C:/Documents and Settings/Joe/AP Programs/BPA Database/EVENTS.TXT")));
         fileIn3 = new BufferedReader(new InputStreamReader(new FileInputStream("C:/Documents and Settings/Joe/AP Programs/BPA Database/STCLASS.TXT")));
         where = 3;                                                                 //User Is At Position '3'.....or search()
         searcher = 0;
         removeAll();                                                            //Remove everything from applet
         /************************************* Creates a label that cannot be edited ***************************************/
         Label stats;
         stats = new Label("Click Field You Wish To Search By, And Click Submit", Label.CENTER);
         setLayout(new GridLayout(6,1));                                        //Makes applet a 6x1 Array for objects
         add(stats);
         checkboxgroup1 = new CheckboxGroup();                              //A group of checkboxes, allows only ONE click
         ssubmit = new Button("Submit");                                        //Submit button
         checkbox1 = new Checkbox("ID",false,checkboxgroup1);          //Sets The First Checkbox into checkboxgroup1
         add(checkbox1);                                                            //Add this to window
         checkbox2 = new Checkbox("Event",false,checkboxgroup1);               
         add(checkbox2);
         checkbox3 = new Checkbox("Class",false,checkboxgroup1);
         add(checkbox3);
         add(ssubmit);
         add(quit);
         /*********************************************** Calls itemStateChanged() when clicked ***************************/
         checkbox1.addItemListener(this);                                   
         checkbox2.addItemListener(this);
         checkbox3.addItemListener(this);
         ************************************************ Cals actionPerformed() when clicked *****************************/
         ssubmit.addActionListener(this);
         quit.addActionListener(this);
         ******************************************** actionPerformed() ********************************************************
         public void actionPerformed(ActionEvent e)
              /************************ clientpart() buttons **********************************************************/
              if (e.getSource() == cpsubmit && what == 1)               //If User wants to search for a person then search()
                   search();
              if (e.getSource() == cpsubmit && what == 2)               //If User wants to Add A New Person then addperson()
                   addperson();               
              /************************ quit button returns to clientpart() *******************************************/
              if (e.getSource() == quit)                                   //If User wants to return to main menu then clientpart()
                   clientpart();
              /************************ addperson() buttons ***********************************************************/
              if (e.getSource() == adder)                                   //Prints New Person To STINFO.txt
                   fileOut.println(text1.getText());
              /************************* search() buttons *************************************************************/
              if (e.getSource() == ssubmit && searcher == 1)          //Shows Everyone In School     
                   while((line=fileIn1.readLine()) != null)
                        System.out.println(line);
              if (e.getSource() == ssubmit && searcher == 2)          //Shows Events With Numbers
                   while((line=fileIn1.readLine()) != null)
                        System.out.println(line);
              if (e.getSource() == ssubmit && searcher == 3)          //Shows Classes With Numbers
                   while((line=fileIn3.readLine()) != null)
                        System.out.println(line);
         ******************************************** itemStateChanged() *******************************************************
         public void itemStateChanged(ItemEvent e)
              /*************************************** Checkboxes in clientpart() *****************************************/
              if (e.getItemSelectable() == checkbox1 && where == 1)               
                   what = 1;
              if (e.getItemSelectable() == checkbox2 && where == 1)
                   what = 2;
              /*************************************** Checkboxes in search() *********************************************/
              if (e.getItemSelectable() == checkbox1 && where == 3)
                   searcher = 1;
              if (e.getItemSelectable() == checkbox2 && where == 3)
                   searcher = 2;
              if (e.getItemSelectable() == checkbox3 && where == 3)
                   searcher = 3;

    An error
    1> exception not caught
    public void actionPerformed(ActionEvent e)
    try{
    <your code>
    catch(Exception ex)
    ex.printStackTrace();
    Explaination: your methods like search() and etc are throwing excpetion but it is not caught so you will have to catch it. The example up here is catching for all but you should tune it a bit to specific exceptions
    A suggestion
    1> your removeall() method is not very nice. Why don't u use card layout and hide the panel instead of removing and adding all again

  • I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. Can someone resolve this problem.

    I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. But in my purchased item library it indicates that you update iPhoto. I am not sure which account the aps store asking. Can someone resolve this problem.

    Contact App Store support. They're the folks who can help with Account issues.
    Regards
    TD

  • I have Photoshop CS4,on how many computers can you install this program ?

    Hello,
    I got Photoshop CS4. On how many computers can you install this program ?
    Sonste

    The license and activation rights are for a single user on two computers that are not used simultaneously—such as your desktop machine and your laptop.

  • I bought Photoshop CS6 Extended(education edition) for Mac. Now ik want to install it on my (new) macbook. I have the product code and serial number. I receive an error code: may be a false copy. How can I install this program?

    In 2012, I bought Photoshop CS6 Extended (education edition) for Mac. Now I want to install it on my new Macbook. I have the correct serial number and product code, but I receive an error message: the software may be a false copy etc....What to do?

    Here is a copy of the error
    This means : Installation failed.
    Verification of the Adobe Software failed
    The product you want to install is no valid Adobe product and seems to be falsified.
    HUgo
    Op 29-aug.-2014, om 23:42 heeft Jeff A Wright <[email protected]> het volgende geschreven:
    I bought Photoshop CS6 Extended(education edition) for Mac. Now ik want to install it on my (new) macbook. I have the product code and serial number. I receive an error code: may be a false copy. How can I install this program?
    created by Jeff A Wright in Downloading, Installing, Setting Up - View the full discussion
    Hugo please turn off your e-mail signature.
    If your serial number is listed as being valid at http://www.adobe.com/ then I would recommend obtaining a fresh copy of the installation files.  You can find details on how to locate your serial number at Find your serial number quickly - http://helpx.adobe.com/x-productkb/global/find-serial-number.html.
    To download a fresh copy of the installation files please see Download CS6 products.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6685617#6685617
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Downloading, Installing, Setting Up by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Hi can someone keep this simple for me! my iPhone is due for a renewal. but my old laptop that it is backed up to no longer works! how do i go about saving all my songs pics etc to a new laptop without losing anything? please help!!!

    hi can someone keep this simple for me! my iPhone is due for a renewal. but my old laptop that it is backed up to no longer works! how do i go about saving all my songs pics etc to a new laptop without losing anything? please help!!!

                     Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • How can I get this program to work -- Adobe Send or Adobe SendNow

    How can I get this program to work?  I have used Adobe SendNow successfully for several years and am on automatic renewal and getting nothing but frustration for my money!  I have been unsuccessful at sending anything in the past several months.  Today while working on a deadline and many unsuccessful attempts to upload files, I signed up for a free trial at a competitor in order to get my files sent.  Want a refund  -- or better yet, keep my money and get it to work right again.

    You can't.
    Sounds like it he gave you a stolen iPhone or at least a worthless one.

  • How do you execute this program on a DVD in a PowerShell statement

    How do you execute this program on a DVD in a PowerShell statement?
    E:\path /program1

    You should be able to just type the command. You may need to quote the path.
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • I have a problem with adobe support advisor, how can i reinstall this program

    i have a problem with adobe support advisor, how can i reinstall this program

    hi wie kann ich adobe support advisor reinstalieren mac , ich bekomme fehlermeldung beim photoshop installation
    Von meinem iPhone gesendet
    Am 17.08.2014 um 07:17 schrieb Willi Adelberger <[email protected]>:
    i have a problem with adobe support advisor, how can i reinstall this program
    created by Willi Adelberger in Deutsche Foren - View the full discussion
    Kannst Du mal anfangen Deine Frage zu stellen?
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6647388#6647388
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Deutsche Foren by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Can someone perform this speaker test for me please

    Hi can someone perform this test for please, play some ipod music through your phone and and cover 1 speaker at a time with you finger, does 1 block out the music as if one speaker is much louder than the other ? just I have tried this on my new iphone 4 as thought it might be a problem but my 3GS is doing it to ??, is it fault or meant to be like that

    There's only one speaker.
    http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf

  • Multithreading - Can someone explain this ...

    Hi Java Gurus:
    Can someone explain this to me why my multithreading worked in once case and not in the other.
    First a little background:
    My application lets the user create multiple JInternalFrames. Each frame has an OK button. When the user presses the OK button, the frame goes about it's business in a new thread, thus returning control to the use, so he/she can press the OK button on the second frame .. and so on.
    Following is the event handler for the OK button that creates the new thread:
    case1 - doesn't work:
          btnTranslate.addActionListener(
             new ActionListener() {
                public void actionPerformed( ActionEvent e ) {
                             txtOutput.setText("");
                             txtBadParts.setText("");
                   Translation trans = new Translation(inst);
                   trans.run();
          );case2 - works:
          btnTranslate.addActionListener(
             new ActionListener() {
                public void actionPerformed( ActionEvent e ) {
                             txtOutput.setText("");
                             txtBadParts.setText("");
                       new Translation(inst).start();
          );Thanks,
    Kamran

    Calling the run method makes the run method run in the current thread. You need to call the start method to get the thread to start its own thread.

  • I am trying to burn a .mov file from fcp xpress timeline to a dvd.  The popup message I receive prior to inserting the dvd is that I need 20.05 gb of space available on dvd (a 1.25 min). How can I get this program onto a dvd that shows a max of 8.5gb?.

    I am trying to burn a .mov file from fcp xpress timeline to a dvd.  The popup message I receive prior to inserting the dvd is that I need 20.05 gb of space available on dvd (a 1.25 min program). How can I get this program onto a dvd (where the max available gb's  for off the shelf dvds-r)  shows a max of 8.5gb?.  Please help.  Thank You!

    You have posted your question in the Final Cut  Pro X forum. You want to be in this forum instead; https://discussions.apple.com/community/professional_applications/final_cut_expr ess_hd
    Good luck.
    Russ

  • TS3649 my mac (2012) did not come with idvd.where can i get this program for download?

    My iMac os lion 10.7.2 (2012) did not come with idvd program. Where can I get this program for download?

    Hi
    If there is no iDVD on Your Mac (and it's not on newer Macs as Apple discarded it) then You need a program that can do this.
    Your Mac can burn CDs and DVDs - BUT DVD as Data-DVDs not as Video-DVDs - they need a program to be encoded and STRUCTURED as such.
    • iDVD is part of the boxed version of iLife'11 and can only be bought outside Apple as on Amazon and e-bay
    • DVD Studio pro - Part of FinalCut Studio Pro bundle - this to has expired and can only be bought second handed. (High price and tough learning Curve - but best ever done.)
    • Roxio Toast™ - Not as elegant as iDVD - but has many other positive additions (I like it as 10-Pro incl BD-component) (now version 11)
    • Burn - a free alternative I know of on internet. Very simple - Just for doing a plain Video-DVD
    Burn http://www.digital-digest.com/software/Burn.html
    • Free DVD Creator.app - free from Apple Store
    • FinalCut Pro-X which also can burn to DVD but without any nice themes.
    AppleMan1958
    You can also buy Compressor from Apple for $50 US. It will also create DVD and BluRay but without the nice themes.
    Yours Bengt W

  • Can someone translate this vi to LV 5.0?

    Can someone translate this vi to LV 5.0?
    Thanks
    Gorka
    Attachments:
    Write_Table_and_Chart_to_XL.llb ‏240 KB

    Try this one.
    Hope it works!
    Brian
    Attachments:
    Write_Table_and_Chart_to_XL50.llb ‏163 KB

Maybe you are looking for

  • How to lock panels in fullscreen mode

    Hi all This might be a silly question, but since I converted from CS3 on Windows to CS5 on Mac I´ve been unable to do the following with the layout: I want the panels to be locked to the main window in full screen mode, so that when I open and work w

  • Iwork on 2 different iPads

    Hello, is it possible to have numbers on my 2 ipads without purchasing 2 . I can not find it in my itunes. THX for the answer DAvid

  • Compiling (in memory) and Loading classes on fly

    Hiya, I have following classes: public class Vehicle {Protected Sting reg;} public class Car extends Vehicle (public void print(){System.out.println(reg);}} These classes (or different ones) are stored in one text file. The program must read these fi

  • Iphoto erased my events

    First of I was about to upload a new album on facebook via iPhoto, then the program started to erase all my albums on Facebook. After that I was working with my events and began categorizing them in a smarter way by putting all photos from say 2003 i

  • MDG-F 7.0 Profit Center Company Code Assignement

    Can we assign new Company Codes to existing profit center code using MDG-F 7.0? Thanks, LUO