What is the difference between a while statement and a do statement?
No Answer is Posted For this Question
Be the First to Post Answer
Is jdk a compiler?
What is the difference between Enumeration and Iteration interfaces? What is the way of to retreive the objects from these interfaces ?
when Can an object reference be cast to an interface reference?
What is the use of flatmap in java 8?
Can optional be null?
Which type of stream is 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.
What is the difference between ec2 and lambda?
1.can i use super keyword in normal class(not inheritance) to call any method?if so how can i call particular variable? 2.In the inheritance how can i access the particular variable from the base class(it containing 5 variables) using super keyword?
Which method is used to create the daemon thread?
What if the main method is declared as private?
What is reflection in java?