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 4437If 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 9045there 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
What is java virtual machine? Explain
Can inner class final?
How many types of string data types are there?
Explain the hierarchy of java exception classes?
Explain the difference between call by refrence and call by value?
What is use of valueof () in java?
What is the numeric promotion?
What is data structure in java?
Explain java coding standards for classes or java coding conventions for classes?
What checkbox method allows you to tell if a checkbox is checked?
Which class is the superclass for all the classes?
Is null keyword in java?
How to stop a thread in java? Explain about sleep () method in a thread?
Does java set allow duplicates?
What are the types of casting?