programming with scanner objects
Redo the First class below but with scanner objects to get the information from the user. Submit your commented code and an example run of your code. Describe the programming strategy you use. Cite any sources that informed your coding.
- Public class First
- {
- Public static void main)Strings[] args
- {
- System.out.println(“Some Company Name”);
- System.out.println(“1234 Company Address St”);
- System.out.println(“Bloomington, IN 47408”);
- System.out.println(“My First Class”);
- }
- }
- // now we create a method called DisplayAddress
- public class First
- {
- Public static void main)Strings[] args
- {
- DisplayAddress();
- System.out.println(“My First Class”);
- }
- }
- public static void DisplayAddress()
- {
- System.out.println(“Some Company Name”);
- System.out.println(“1234 Company Address St”);
- System.out.println(“Bloomington, IN 47408”);
- }
Save your time - order a paper!
Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines
Order Paper NowSubmission Details:
- Create the code and sample run files.
- Zip the files as SU