What is a service layer in java?
What about 'hostile applets'? : java security
What are microservices in java?
What is setstring method in java?
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.
Why is javac not recognized?
when i send the request to the JSP page it will print as it is and why? and how to solve this problem please inform me that solution
What is war file in java?
What are the benefits of a jar file?
what is meant by Encapsulation?Explain with an example?
What is proxy object in java?
What is java lang?
Is openjdk the same as jdk?