The answer for the given question is explained below.
<u>Explanation</u>:
public class Parking Meter
{
int time Left = 0;
int max Time;
public Parking Meter( int max ){
max Time = max;
}
public boolean add ( int coin )
{
if ( coin == 25 )
{
if ( time Left + 30 < max Time )
{
time Left += 30;
return true;
}
}
return false;
}
public void tick()
{
if ( time Left > 0 )
{
time Left -= 1;
}
}
public boolean is Expired()
{
return time Left == 0;
}
}
Answer: Kohlberg's conventional level of morality.
Explanation:
Conventional level of morality is mostly found in adolescents and adults. In order to reason or to judge morality of ones actions by comparing to the society's expectations and views. This level tends to consists of third and fourth stage of the moral development. The conventional morality is also characterized by acceptance or approval of society's norms concerned about right and wrong.
Millenials has a drastic change in perception of life in general compared to previous generation.
They seek more work-life balance and placed a sense of fulfillment/enjoyment in your work as a necessity. So, they tend to make several efforts to make their day job interesting by integrating everything that we usually use with a game-like features