Myfirstprogram in java, JAVA Programming

The purpose of this assignment is to help you learn the Java environment and practice I/O instructions, assignment, and simple arithmetic operators.

Teams: The assignment can be done individually or in teams of two from the same section. Submit one assignment per team.

General Guidelines When Writing Program

- Include the following comments at the top of your source codes // -----------------------------------------------------// Assignment (include number)// Question: (include question/part number, if applicable) // Written by: (include your name(s) and student ID(s)) // ----

-  In a comment, give a general explanation of what your program does. As the programming questions get more complex, the explanations will get lengthier.

-  Include comments in your program describing the main steps in your program.

-  Display a welcome message which includes your name(s).

-  Display clear prompts for users when you are expecting the user to enter data from the keyboard.

-  All output should be displayed with clear messages and in an easy to read format.

-  End your program with a closing message so that the user knows that the program has terminated.

Part 1: MyFirstProgram In this part you are required to write a program (called MyFirstProgram.Java) that displays the following, depending on whether you work on this assignment alone or as a team.If you work on the assignment alone, the program should display the following (the name on the output must be replaced by your name; the date and time should also be updated to reflect the date and time you worked on the assignment.)

        Welcome to My First Java Program!

        This Program was written by: Mark Stevens.

        End of Program!

If you work on the assignment as a team, the program should display the following (the names on the output must be replaced by your names; the date and time should also be updated to reflect the date and time you worked on the assignment.) Welcome to Our First Java Program!This Program was written by: Mark Stevens & Linda Peterson.

Posted Date: 2/25/2013 12:18:49 AM | Location : United States







Related Discussions:- Myfirstprogram in java, Assignment Help, Ask Question on Myfirstprogram in java, Get Answer, Expert's Help, Myfirstprogram in java Discussions

Write discussion on Myfirstprogram in java
Your posts are moderated
Related Questions
Dynamic JAVA Class and type information is kept around at runtime. This allows runtime loading and inspection of code in a very flexible way.


how can i implement Mid-Square hashing?

Explain term Literals in java? Literals are pieces of Java source code which mean exactly what they say. For example "Hello World!" is a String literal and its meaning is the w

Deliverable:  1) WAR file for your application that can be deployed and run on TomcaT (War file must contains the Java source code) Requirement for application: 1. Application m

I need Java coding Need to develop a website. Require Java coder's urgently. Skills required: HTML, Graphic Design, Java, PHP, Website Design

Question 1 Discuss features of JAVA Question 2 What are primitive data types? Discuss Question 3 Explain data conversion function ValueOf ()? Question 4 What are th

Consider the following code? What input is needed for x in order for the sum variable that is output at the end of the code to be 12 ? (In other words: what do I need to make X be

At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes

Question: (a) Explain the event handling mechanism using a 'JComboBox' as example. Your answer must clearly indicate the event source, event object and event listener. Also