What is the use of lambda functions?
No Answer is Posted For this Question
Be the First to Post Answer
What is lazy loading in jpa?
Who is at risk in java? : java security
Is lambda cheaper than ec2?
Is java an api?
what is the serialization?
Write a program for the following topic - switch case,looping using fuction calling,nesting,console input output. Aim- to print a menu:- 1-series 2-single value. Each menu having sub menu armstrong or perfect.
What is war file in java?
What about 'hostile applets'? : java security
What is the difference between jar and executable jar?
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.
What's the difference between authentication and authorization? : java security
What is singleton pattern in java?