Words of Wisdom:

"heaven is similar to this site"by neeraj shastry" - Baseball

Sd2720 Module 1 Java Basics Refresher

  • Date Submitted: 03/31/2016 02:16 AM
  • Flesch-Kincaid Score: 56 
  • Words: 528
  • Essay Grade: no grades
  • Report this Essay
SD2720   Module 1 Java Basics Refresher

Click Link Below To Buy:

http://hwcampus.com/shop/sd2720-module-1-java-basics-refresher/


Lab 1.1 Creating Java Application  


In this lab, you will complete three tasks related to Java classes, their attributes, and error handling in a Java program. The task performed in this lab will help you understand how to break a complex software program into various classes by using object-orientated programming.
Task 1
Scenario: Universal Bank offers various services to its customers. The bank has various branches all over the country and therefore, each branch has a unique code. The bank stores the details of its customers such as customer ID, customer name, account number, address, phone number, and email address. In addition, the bank offers its customers a choice of accounts, such as savings account, current account, and loan account. In addition, the bank stores its employee details, such as employee code, employee name, employee address, phone number, and email address.
For the given scenario, complete the following:
• Identify the various classes and their attributes used in this scenario.
• Create a UML class diagram depicting the relationship among classes for the customer and employee information system of Universal Bank.
• Create the Java code to implement the identified classes.
• Assign values to the identified attributes.
• Display the attribute values.

Task 2
Scenario: Royal College offers different courses to its students. Whenever a student enrolls for a course, the student details, such as Registration Number, Department Name, and Permanent Address, Email ID, and Phone Number, are registered.
For the given scenario, write a Java program using the Scanner class to get these student details from the user.
Task 3
Analyze and identify the errors in the following Java code and rewrite the code.
class Course
{
String courseCode, courseName;
int duration;
}
public...

Comments

Express your owns thoughts and ideas on this essay by writing a grade and/or critique.

  1. No comments