Question: Write a Java program whose class name is YeditepelsGood that has a constructor that prints a message to the console when called. The main() method

Write a Java program whose class name is YeditepelsGood that has a constructor that prints a message to the console when called. The main() method creates an instance of yeditepelsGood and calls its constructor, which will print the message "Yeditepe is good" with a field called name and a constructor that takes a string parameter and assigns it to the coursecode field. The greet() method prints a greeting using the name field. When you run this code, you should see the following output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
