cant we call run() method directly instead of calling indirectly through the start()
method ? if we do so then what is the problem ?
Answer Posted / neeraj_passion2001
yes you can call run() as ordinary method.
but while calling run() explicitly u can not achieve multi
threading.
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
What is serializable in java?
What is http session in java?
What is java bean class?
How can one prove that the array is not null but empty?
What does persist mean in java?
What is java ioc?
What is repository pattern in java?
What is java lang?
What is the difference between a while statement and a do statement?
Is jpa a framework?
What are the rules regarding quotation marks?
What is flatmap in java8?
What are jpa repositories?
Write a program for the problem: the array of inetegers indicating the marks of the students is given, U have to calculate the percentile of the students aaccording to this rule: the percentile of a student is the %of no of student having marks less then him. For eg: suppose Student Marks A 12 B 60 C 80 D 71 E 30 F 45 percentile of C = 5/5 *100 = 100 (out of 5 students 5 are having marks less then him) percentile of B = 3/5*100 = 60% (out of 5, 3 have markses less then him) percentile of A = 0/5*100 = 0%.
Is java a framework?