What is the latest version of java?
No Answer is Posted For this Question
Be the First to Post Answer
What are "methods" and "fields"?
What is an infinite loop in java? Explain with an example.
What is the default value of byte datatype in java?
What are virtual methods?
Explain garbage collection in java?
How to sort array in descending order in java?
Can we able to pass objects as an arguments in java?
how to use this key word in java programming?
where do we use init()
If 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?
When should a function throw an exception?
0 Answers Thomson Reuters, Virtusa,
1) Find the Merge point of two linked lists. 2) Swap two bits of integer. 3) Reverse individual words of the sentence. 4) Reverse string without using temp string.