For each of the following program segments,give a big zero
analysis for the running time
1.For (i=0;i<m;i++)
{
//
}
2.For (j=0;j<i;j++)
No Answer is Posted For this Question
Be the First to Post Answer
what is jdbc?
Explain different way of using thread?
What is jar file in java?
What is difference between loosely coupled and tightly coupled in java?
What is a controller in java?
What is type inference? Is type inference available in older versions like java 7 and before 7 or it is available only in java se 8?
What is javax annotation generated?
What is a flatmap?
What are jdk tools?
What is war file in java?
there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.
Explain the reason for each keyword of public static void main(string args[])?