Java J2EE (14736)
J2ME (151)
Java Related AllOther (507) how a servlet is instantiated, whether the container calls init() or by calling any other method? please somebody reply..
6 23430I have a problem wtih a program. The program logic is like this.......... from a class which extends midlet class i create object of a class(say canobj(word)) which extends canvas class by passing a string. the next statement is display.setCurrent(canobj); Everything is fine but the paint(Graphics g) method is not executed. What may the problem. please suggest me the answer.
2 5462which scenarios we go for jdbc,and which scenario we go for connection polling and wat r advantages and disadvantages using connection pooling.
TCS,
2 6728there 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.
1 3964Write 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%.
1 2262Input :14000 Output : hundred and fourteen thousand.(wrong) Desired output : fourteen hundred thousand.
2 6342there 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.
1 3096
What is the java api?
What are the differences between heap and stack memory in java?
Write a program to print count of empty strings in java 8?
What is the resourcebundle class?
How to sort array in descending order in java?
How is declarative handling of exceptions done in struts ?
What is latest hibernate version?
What if I write static public void instead of public static void?
What is a constructor overloading in java?
Differentiate between static and non-static methods in java.
What is lazy class?
What is difference between @controller and @restcontroller in spring?
What is the first argument of the string array in main method?
Write a program to find the whether a number is an Armstrong number or not?
What is java string pool?