Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

TASK 1. Clone the repository listed above to a NetBeans project 2. Create a new local Branch called FIRSINAME LASINAME EXI (Use your names!!) to

image text in transcribed
image text in transcribed
TASK 1. Clone the repository listed above to a NetBeans project 2. Create a new local Branch called FIRSINAME LASINAME EXI (Use your names!!) to complete the remainder of this exercise. Note that you should not push changes to the remote master branch, only to your (new) remote branch which you will push up to GitHub. 3. Complete the Cardirick class so that it models a "hand" of seven cards as an array which is filled with random cards (you will have to create an algorithm that chooses random number values and random suits from the suits amray, this is started for you; hint use Random) *.Remember to add your name as an author and the date in the header comment 4. Make the Cardirick class then ask the user to pick a card ("any card") and then search the array for the card, and report whether the user's card is in the hand of random cards. If it is, invoke the printinfo() method. There are no special points here for efficiency beyond a Java 1 level. This is something we can refactor later! (hint: you might want to print out the generated cards while you are debugging to be able to pick a generated one, just make sure to comment out that code before pushing your branch upl 5. Push your new branch to the remote repository and login to the remote on Gittub to check that your branch was pushed. 6. Edit your code on Gittlub by modifying the printinfo()Jo print out your own information (It will help me get to know you better tool). 7. Safely merge the code into your NetBeans project, replacing the code in the printinfoll method with the code you changed in your branch on Gittub. Hints: Do a Fetch, then merge the remote branch using the Repo Browser. 8. Once your merged code is working as above, add an "I'm donel" comment in NetBeans at the beginning of the printinfol) method and commit the changes with an I'm Done message and push your final branch changes to the remote repository in your own branch only. Do not merge with the master. ...'The Git history will be examined to get full credit for the edit/merge land Git

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

More Books

Students also viewed these Databases questions

Question

Find v0 (t) for t > 0 in the circuit of Fig. 7.129 6 24 H

Answered: 1 week ago

Question

Which are non projected Teaching aids in advance learning system?

Answered: 1 week ago

Question

Can workers be trained in ethics? How? Defend your answer.

Answered: 1 week ago