Hi am an mca graduate . i have done bsc maths in my degree . every company asks me why you make shift from maths group to computere field . What i need to answer?
2 5693How to Sort Strings which are given in List and display in ascending order without using java api.
LIC,
1 4435If I will write String s=new String("XYZ"); String s1=new String("XYZ"); if(s.equals(s1)){ sop("True"); } else{ sop("False"); } This program will give me "True". But When I am creating my own class suppose class Employee{ public Employee(String name); } Employee e= new Employee("XYZ"); Employee e1 = neew Employee("XYZ"); if(e.equals(e1)){ sop("True"); } else{ sop("False"); } Then it will give the output as "False". Can I know what is happening internally?
5 9043there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.
1991take any 4 input numbers. like 2345.. wanted out put is All 16 combinations of the number 2345.. for example- taking input as 4565 output- 5654 4556 4655..
2 8634
When will we prefer to use set and list in java and why?
What is singleton service?
What is the difference between and ?
How do you square a number?
Define reflection.
Explain about static imports in java?
What are the various access specifiers for java classes?
How to calculate the length of a singly linked list in java?
What is the meaning of find and replace?
What is static keyword?
Why call by value prevents parameter value change?
is there a separate stack for each thread in java? : Java thread
What is function overriding and overloading in java?
How do you add an element to an arraylist in java?
What is the use of coding?