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

  Digit decimal seconds counter using two 7-segment displays

Write a program that implements a two digit decimal seconds counter using two 7-segment displays.  Make this program using java programming. Make this program in simple way.

  Method definition to count and then return the number

Write a nested loop structure that prints out the following number series: 111 112 121 122 211 212 221 222. The innermost loop may have only one print statement and no literal string output except a space (" ").

  In light of wrestling with ethics

In light of "Wrestling With Ethics" and other research/articles that you are able to draw upon, should profitability drive social responsibility? Be sure to support your discussion question responses with evidence from the readings and/or additional ..

  The code for linked list

The code for Linked List.

  Write a class and client class that stores hotels ratings

Write a class and client class that stores hotels ratings over the years. The number of stars represents hotel ratings. Use a two dimensional integer array to represent the years and hotels

  Java program that implements an algorithm known as a bubble

writing a simple Java program that implements an algorithm known as a Bubble Sort. A Bubble Sort is a simple sorting algorithm that takes an unsorted array of elements and sorts them into ascending order.

  Output the number of vowels

Prompt the user to enter a string, and using a loop, count and output the number of vowels, and consonants the string contains. (You have to find methods from class.)

  Build an android application to execute some of the queries

Build an android application to execute some of the queries -

  Write a java program in a netbeans project that reads a

write a java program in a netbeans project that reads a text file containing the names and addresses of several people

  Create a testing java program

Please create a testing Java program to use this RandomSeq class to create a random DNA sequence and then print it out in a formatted fashion with a specified length for each line.

  Java program that simulates the battle between a cat & mice

Mice have a chance to reproduce as long as required conditions are met. Reproduction only happens when mice are over 1, and 1 of each sex is present.

  Demonstrate the use of array or arraylist

It will calculate the additional amount of sales that each salesperson must achieve to match or exceed the higher of the two earners. The application should ask for the name of each salesperson being compared.

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