What is difference between c++ and java ?
No Answer is Posted For this Question
Be the First to Post Answer
What are the classes of java?
What is the specification of ?CODEBASE? in an applet?
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
What is multithreading ???? How to stop multithrading in java????
Can a static method be overridden in java?
Explain the transient field modifier?
What is Generic in java? Where can we write Generic ( class or method or objects or etc...)? with simple example? Thanks, Bose.
2 Answers Infosys, Tech Mahindra,
Is simpledateformat safe to use in the multithreaded program?
Can we use static class instead of singleton?
System.out.println("somestring"); It will create any object or not
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?
Is there any way to skip finally block of exception even if some exception occurs in the exception block?