Home
Subscribe TechModgy to learn about new technologies!

Consider the following class definitions:
 class maths { 
student student1;
}
class student {
String name;
}

This code represents:

A. an 'is a' relationship

B. a 'has a' relationship

C. both

D. neither

Please do not use chat terms. Example: avoid using "grt" instead of "great".