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 5810How to Sort Strings which are given in List and display in ascending order without using java api.
LIC,
1 4518If 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 9232there 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.
2036take 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 8744
Can I override protected method in java?
Are arrays classes in java?
What is the main purpose of java?
Give the difference between the println method and sqrt method?
What are alternatives to java serialization?
What is ‘is-a ‘ relationship in java?
What does singleton mean in java?
How will you serialize a singleton class without violating singleton pattern?
What is the synonym of procedure?
What do you understand by soft reference?
What is the finalize method do?
How do you sort in java?
What is the difference between a local variable and an instance variable?
What is close method? How it's different from Finalize & Dispose?
What are some examples of variable costs?