What is web xml java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Java Related AllOther Interview Questions

cant we call run() method directly instead of calling indirectly through the start() method ? if we do so then what is the problem ?

7 Answers   HSBC, Subex,


What is a java singleton?

0 Answers  


How do I install jdk?

0 Answers  


What is loose coupling in java?

0 Answers  


public class Dog { private int weight; public int getweight(){ return weight; } public void SetWeight(int newWeight){ if (newWeight > 0){ weight = newWeight; } } } public class TestDog { public static void main(String[] args) { Dog d = new Dog(); System.out.println("Dog d's weight is " + d.getWeight()); d.setWeight(42); System.out.println("Dog d's weight is " + d.getWeight()); d.setweight(-42); System.out.println("Dog d's weight is " + d.getWeight()); } } class dog is compiled but there is an error in class TestDog when compiled and the error is with dot notations. I want to kmow why there is error in testdog class when compiled.

3 Answers  






Can you compile java into exe?

0 Answers  


Can a dead thread be started again?

0 Answers  


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%.

0 Answers   Sapient,


Do I need to install jre if I have jdk?

0 Answers  


What are struts java?

0 Answers  


What is dto in java?

0 Answers  


How do I enable jvm?

0 Answers  


Categories