Identifing the appropriate class names, attributes & methods

Assignment Help JAVA Programming
Reference no: EM13942140

I am having problems identifing the appropriate class names, attributes and methods for the following objects. I need at least 3 attributes and 3 methods for each class.

STUDENT
INSTRUCTOR
CLASS
MAJOR

For Example:

Class Name
Student

Attributes
socialSecurityNumber;
studentName;
studentDOB;

Methods
getStudentName();
getTotalStudentCount();
setStudentID(ssn, fname);

I have part of it done but im not sure where to go from there.
Thanks

public class Student {

// methods
public void setName(String name){}
public void getStudentName(){}
public void setTotalStudentCount(){}
public void getTotalStudentCount(){}
public void setSS(String ssn){}
public void getSS(){}

// attrs
String name;
String ssn;
String studentMajor;
}

Reference no: EM13942140

Questions Cloud

Explain how the devices are or are not effective : Define the specific rhetorical device, explain how it is used, and analyze whether the persuasive technique is designed to be credible, misleading, descriptive or used for some other purpose. Explain how the devices are or are not effective.
Default constructor for the chatioexception class. : The second constructor takes in a string as a parameter and passes this string into the call to super();
How did the researchers collect the data : What does the article demonstrate about the limitations of survey research? What limitations do the authors acknowledge with their own study?
Are housing bubbles contagious : Read the case study: "Are Housing Bubbles Contagious? A Case Study of Las Vegas and Los Angeles Home Prices" and watch the supplemental videos:
Identifing the appropriate class names, attributes & methods : I am having problems identifing the appropriate class names, attributes and methods for the following objects. I need at least 3 attributes and 3 methods for each class.
Types of short and long term planning : Outline the types of short and long term planning that are carried out in the organisation
Who are the rivals to the netflix streaming effort : What is the long tail? How "long" is the Netflix tail in the DVD-by-mail business compared to traditional video stores? Who are the rivals to the Netflix streaming effort? Do any of these firm have advantages that Netflix lacks? What are these advan..
Why do you think gender has an impact on crime : Travis Hirschi developed his social control theory on the basis of bonding towards society. Which of the four elements of this bond-attachment, commitment, involvement, and belief-is more important than the others? Why?
What is the emissivity of the disk surface : Determine the fraction of the incident solar irradiation that is absorbed and what is the emissivity of the disk surface

Reviews

Write a Review

JAVA Programming Questions & Answers

  Need a console program

Need a console program that repeatedly prompts the user to enter data until they type done (any case, Upper, Lower, or Mixed).

  Modify the factorial method with a recursive call

You may want to add such display capabilities to other recursion examples and exercises throughout the text.

  Javascript validation - cgi program

CGI mailer script form-mail.pl to your server's cgi-bin directory, and change the permissions on the script to make it executable - BMIS 310

  Create a third string consisting of the first half of string

Show the length of both strings - Create a third string consisting of the first half of string (1) and the second half of string.

  Create your program using eclipse

Create your program using Eclipse. Name your project Assignment5 and the Java class Loops. Use the Scanner class to get input from the user and use System.out to print to the console window.

  Create a bar chart that illustrates sales.

Hal's Used Cars has four salespeople named Pam, Leo, Kim, and Bob. Accept values for the number of cars sold by each salesperson in a month, and create a bar chart that illustrates sales. Save the file as BarGraph.java.

  Concept of java socket programming

Designed to asses learning outcomes and write programs that would communicate with another program running in the network

  Employee type and the number of hours

Write a program that calculates the salary for the employee. The hourly rate for permanent staff (P) is 200, contract staff (C) is 150 and temporary staff (T) is 100. The program accepts the employee type and the number of hours the employee work.

  Write a program that plays a word game with the user

Write a program that plays a word game with the user. The program should ask the user to enter the following.

  Java project

Prompt the user for an int between lower and upper boundary.

  Determine values of the side of triangle

Enter 3 integers and determine if these 3 values make up the sides of a triangle. If any side is

  Compare and contrast the safavid and ottoman empires

How did the creation of the Janissary system shape the development of the Ottoman Empire? What precipitated the decline of the Ottoman Empire? Compare and contrast the Safavid and Ottoman empires?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd