FREE Homework Help
Ask your homework question and get help from others
Help friends with their homework problems
Ask YOUR question:

Need help with CsC homework to create java class!

0 votes

 

how do i do this:
 
1. Create a Java class called MyFirstJava. In your main method, create at
least one variable. Assign your variable the value of an expression using
at least one operator. Finally, print out a message. Include the value of
the variable in your message. (Do not write out the value of the variable
yourself ! Allow Java to read and display the value, as we discussed in
class.)
 
2. Save your Java class and go to the command line. Use javac to compile
the class and run it. Make sure the output is what you would expect.
 
3. Pipe the output of your class to a file called output.txt.
 
That’s it! Submit your .java file and output.txt. Include a file README
with your name and a brief explanation of what your class does.
asked 12 years ago in Computer Science by anonymous

Need the solution FAST? Than SHARE this question:   

0 Answers

Related questions

0 votes
0 answers
0 votes
0 answers
0 votes
0 answers
0 votes
1 answer
asked 11 years ago in Computer Science by anonymous
0 votes
0 answers