Java J2EE (14736)
J2ME (151)
Java Related AllOther (507) how to get the max salary and name of employee from arraylist without using the Comperator or even Comparable interface?
2 27490HOW TO PRINT A NO IN WORDS USING WHILE LOOP THE NO WILL BE PRINTED WHEN IT WILL BE IN THE RANGE BETWEEN 1 AND 3?
1 3846public 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 7180Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com
3004how can be object class inherited to all class in a program when java does not support multiple inheritance??
4 6403take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
2011
Does string is thread-safe in java?
Why is java called technology?
Is swing still used?
What are different ways for authentication of servlet?
What is connector?
What are the toolbar elements.
What is diffrence between dmgr and other profiles?
What is the importance of hibernate mapping file?
Describe the mvc on struts?
How can we refresh automatically when new data is entered into the database?
How many sessionfactory and session objects are usually created?
What is difference between javac and java?
What is integer parseint?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
What is predicate in lambda expression?