what is constructer?what are the type of constructer with
example.
Answer Posted / kool
A constructer has same name as class .it does not have any
data type in a program we can only have one constructer
with a class name because they can be overloaded.if we dont
create one the programe creates one for us.
public class kool{
/** constructer
public kool(){
*/
}
}
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What is crud operations in java?
What is jndi datasource in java?
What happens if javac is not recognized?
Is eclipse a jdk?
What java systems libraries and methods are available for me to use?
What is the use of flatmap in java 8?
What is a java executable jar file?
What are the new features about Java se 8 ?
Are the actual permissions for the application defined at run-time or compile-time? : java security
What is gpt and gpc? : java security
What is a pojo class in java?
Explain the inheritance principle.
What is the difference between a while statement and a do statement?
If you’re overriding the method equals() of an object, which other method you might also consider?
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%.