Question: 1 . Develop a Java application including the following pieces of information: 2 . A class in Java that includes the university info, including name,
Develop a Java application including the following pieces of information:
A class in Java that includes the university info, including name, year of establishment, number of students, number of faculty members, number of faculties, number of departments of each faculty, and three facilities.
Create an appropriate class in Java.
Add an appropriate modifier to the class in Java.
What are and how many propertiesfieldsattributes does the Java class have?
Add access modifiers to the properties of the Java class.
Overload constructors and add an appropriate access modifier to each constructor.
Create two constructors, one default constructor, and a constructor to accept all properties as input parameters. Initial each property with if it is an integer, if it is a doublefloat variable, an empty string if it is a String object, etc.
Initialize the propertiesattributesfiled of the Java class with the input parameters to the second constructor.
Implement a setter and a getter method for each propertyattributefield Add an appropriate modifier to each settergetter method.
Implement another class and add the Java "main" method to it
Instantiate from the class you already created for the university. Do not use extendsinheritance concept
Create a new instance and initial the properties using the default constructor
Print out the value of each property.
Create another new instance and initialize the properties using the second constructors input variables.
Print out the values of the properties.
Initialize the value of each property using its related setter method.
Print values of each property using its related getter method.
Which part of this assignment was more challenging for you?
please provide all of the java source files.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
