Design a class to store the following information about computer scientists ⦁ Name ⦁ Research area(s) ⦁ Major contribution A scientist may have more than one area of research. ⦁ Implement the usual setters and getters methods ⦁ Implement a method that takes a research area as an input and return the names of scientists associated with that area ⦁ Implement a method that takes a word as an input and return the names of scientists whose contribution mention that word
OOPs
In today's technology-driven world, computer programming skills are in high demand. The object-oriented programming (OOP) approach is very much useful while designing and maintaining software programs. Object-oriented programming (OOP) is a basic programming paradigm that almost every developer has used at some stage in their career.
Constructor
The easiest way to think of a constructor in object-oriented programming (OOP) languages is:
JAVA. THIS IS A
IF YOU ANSWERED BEFORE DO NOT ANSWER AGAIN
PLEASE DO NOT PASTE A PAPER
Design a class to store the following information about computer scientists
⦁ Name
⦁ Research area(s)
⦁ Major contribution
A scientist may have more than one area of research.
⦁ Implement the usual setters and getters methods
⦁ Implement a method that takes a research area as an input and return the
names of scientists associated with that area
⦁ Implement a method that takes a word as an input and return the names of
scientists whose contribution mention that word
Next, perform desktop research to find at least five prominent black computer
scientists, with their research area(s) and major contribution, and store this data into
objects of the class you designed. You can just hardcode this data. No user input needed.
Define JUnit tests to check your research area and contribution search methods.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps