Why doesn't lsdou work under windows nt? : java security
No Answer is Posted For this Question
Be the First to Post Answer
How do I enable java in google chrome?
How do I run a project in netbeans?
how can we create the ui using netbeans,having the code?
why java has the size of character 2 byte ,while in c/c++ it is of 1 byte?
What is mdb in java?
Why java is better than node.js?
How long can a lambda function run?
What is the difference between lambda expression and anonymous methods?
i have client interview in TCS.client is CITI BANK.how to face it,what type of questions they will ask,please tell send me to kumar525job@gmail.com
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.
How common are security breaches? : java security
How do I run a java project in netbeans?