Is jprofiler open source?


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

Post New Answer

More Java Related AllOther Interview Questions

Do I need both jdk and jre?

0 Answers  


Is lambda expression an object?

0 Answers  


What are the Advantages of java se 8 new features?

0 Answers  


How to load a class programmatically?

1 Answers  


What is ehcache in java?

0 Answers  






What is @override annotation in java?

0 Answers  


What is the difference between ec2 and lambda?

0 Answers  


What is a static method?

0 Answers  


What is transaction management in java?

0 Answers  


is hibernate a technology or framework?

4 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  


What if I write static public void instead of public static void?

0 Answers  


Categories