which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
6 11410how tha garbage collector know that the object will be deleted? on which algorithm the garbage collector works? what is the working principle of garbage collector? How manay types of garbage collectors r there?
1 7368suppose we have an interface & that interface contains five methods. if a class implements that interface then we have to bound that to give tha definition of all five methods in that class. If we declare that class as abstract then can we call only two methods to give the deinition of that method & i don't want to give the definition of all the methods? can it possible
6 10396java program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.
7 10478why we write public static void main (String args[]) in core java plz explain briefly??????????????????
HCL,
3 8596if we give input as " hi how are you" then the output should be "uoy woh"...it should skip odd words in the input and should reverse even words from the end of string...can anyone help me to write this program in java
1 4254
When to use runnable interface vs thread class in java?
What are the java ide's? Explain
Can vector have duplicates in java?
Name and explain the types of ways which are used to pass arguments in any function in java.
What does isempty () do in java?
Is there a case when finally will not execute?
What is Gang of four design patterns
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
What does s mean in regex?
How can the checkbox class be used to create a radio button?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
What is better - 'bit-shift a value' or 'multiply by 2'?
Write an algorithm for quick sort?
What is use of set in java?
What are the actions that can occur when a thread enters blocked state?