program A and B are analysed and found to have worst case
running time greater than 150NlogN and N*N respectively.
which program has the better guarantee after the running
time for the large values of N(N>10000)?
which program has the better guarantee for the running time
of small program N (N<100)?
which program will run faster on average for N=1000?
No Answer is Posted For this Question
Be the First to Post Answer
What are the rules regarding quotation marks?
Input :14000 Output : hundred and fourteen thousand.(wrong) Desired output : fourteen hundred thousand.
i have make jar file but when i click in this file then arr swhow "no faund main class" plese help me in this problem becose i want to make a jar file as a dxdcutable file
What is Serialization?
What is java lang?
cant we call run() method directly instead of calling indirectly through the start() method ? if we do so then what is the problem ?
What is profile 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 the sleep method does not leave the lock and wait method leave the lock
What about javascript? : java security
Explain the inheritance principle.
What is the means of java?