Design a Java program to introduce yourself to me. This Java program can be simple for...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Design a Java program to introduce yourself to me. This Java program can be simple for example, just having some printing statements inside the main method to achieve the target (I hope not!!!) or can be complicated by having a class to describe yourself and let the main method link to the methods of this class to do the job. Date -int Day 1-String Month -int year 1..1 -date- Info -String name -String nationality 1-Date date -ArrayList<String> hobbies -ArrayList<String> wishes Upon executing your program, the following information of you (you can tell lie, no problem) will be displayed. My Information Name: Dr James Bond National: Republic of Singapore Date of birth: 8 October, 1951 I have 2 hobbies 1: Bridge games 2: Demonstrate more examples in class I have 4 wishes 1: To be a good teacher 2: To be a NWorld Champion in bridge 3: Don't fail too many students :-) 4: Give a lot of HDists Design a Java program to introduce yourself to me. This Java program can be simple for example, just having some printing statements inside the main method to achieve the target (I hope not!!!) or can be complicated by having a class to describe yourself and let the main method link to the methods of this class to do the job. Date -int Day 1-String Month -int year 1..1 -date- Info -String name -String nationality 1-Date date -ArrayList<String> hobbies -ArrayList<String> wishes Upon executing your program, the following information of you (you can tell lie, no problem) will be displayed. My Information Name: Dr James Bond National: Republic of Singapore Date of birth: 8 October, 1951 I have 2 hobbies 1: Bridge games 2: Demonstrate more examples in class I have 4 wishes 1: To be a good teacher 2: To be a NWorld Champion in bridge 3: Don't fail too many students :-) 4: Give a lot of HDists
Expert Answer:
Answer rating: 100% (QA)
1 The requested sourcecode is given below import javautil class Date public int dayyear public Strin... View the full answer
Related Book For
Java An Introduction To Problem Solving And Programming
ISBN: 9780134462035
8th Edition
Authors: Walter Savitch
Posted Date:
Students also viewed these programming questions
-
I want to write a java program to calculate the letter grades of each student in the class based on the scale shown on the course overview and the syllabus. Which type of decision structure would be...
-
Write a java program to compute all prime numbers less than equal to a given integer N using the algorithm "Sieve of Eratosthenes". The Sieve of Eratosthenes is a method used to compute all primes...
-
Problem: Write a Java program to read Nintegers into an array A and Find the sum of all negative numbers in array. Find the sum of all positive numbers in array. Find the average of all negative...
-
True Or False Death benefits are used to compensate the deceaseds family for pain and suffering.
-
Appendix B.4 is a table of random numbers that are uniformly distributed. Hence, each digit from 0 to 9 has the same likelihood of occurrence. a. Draw a graph showing the population distribution of...
-
Write a structural formula for the most stable conformation of each of the following compounds: (a) 2, 2, 5, 5-Tetramethylhexane (Newman projection of conformation about C-3C-4 bond) (b) 2, 2, 5,...
-
The Howell Corporation has the following account balances (in millions): Prepare an income statement and a supporting schedule of cost of goods manufactured for the year ended December 31, 2017. (For...
-
Leno Manufacturing Company prepared the following factory overhead cost budget for the Press Department for October 2014, during which it expected to require 20,000 hours of productive capacity in...
-
XYZ Corp. produces 1,000 units of output (along the same isoquant) using various combinations of capital (K) and labor (L). At point A (along the same isoquant), the firm uses 30 units of capital and...
-
A soft-drink bottler purchases nonreturnable glass bottles from a supplier. The lower specification on bursting strength in the bottles is 225 psi. The bottler wishes to use variables sampling to...
-
Company XYZ conducts treasury futures arbitrage. Information pertinent to the T-bond futures and the underlying bonds are shown below. Current date & repo rate: May 25, 2021, repo rate = 10% per...
-
What causes our DNA to come off the column during the elution step of the mini-prep?
-
1) 11) Write two methods used to reduce the branch penalty? E 111) 3 Name the five stages of the MIPS instruction cycle? IV) Instruction What are the three types of pipeline hazards? Give example on...
-
A crane is pulling a concrete slab with a velocity of 2.5 m/s with an upward acceleration of 0.4 m/s2. At this moment, a stone was dropped at a point 40 meters above the concrete slab. Solve for: the...
-
In a chase scene, a movie stuntman runs horizontally off the flat roof of one building and lands on another roof 2.3 m lower. If the gap between the buildings is 4.6 m wide, how fast must he run to...
-
Consider market for cars. There are 6 consumers labeled I = 1 , 2 . . . , 6 . Every consumer want to buy one car. In addition each consumer I has willingness to pay equal to I . There are two...
-
Crane Company sells its product for $200 per unit, the variable cost $160 per unit and the company fixed costs are $150000. The company is considering the purchase of some new equipment that will...
-
Choose two matrices A and B with dimension 2 x 2. Calculate det A, det B, and det (AB). Repeat this process until you are able to discover how these three determinants are related. Summarize your...
-
What would the following statements, when used in a Java program, display on the screen? int age; age = 20; System.out.println ("My age is"); System.out.println(age);
-
Consider a class RatingScore that represents a numeric rating for something such as a movie. Its attributes are A description of what is being rated The maximum possible rating The rating It will...
-
How does machine language differ from Java?
-
Identify from Cresseys research the six situational categories that cause nonshareable problems.
-
Which of the following is true with regard to Cresseys theory of crime causation? 1. For a fraud to occur, only one of the fraud triangle attributes (perceived pressure, perceived opportunity, or...
-
Identify which of the following is not considered a nonshareable problem from Cresseys research. 1 .Business reversal such as bankruptcy 2.Losses due to gambling 3. Justification of the fraud act by...
Study smarter with the SolutionInn App