Can you access non static variable in static context?
No Answer is Posted For this Question
Be the First to Post Answer
What is stringbuffer in java?
Define how destructors are defined in java?
Why use string handling in Java?
What is mysql driver class name?
Name the types of 'priority'?
Is heap stored in ram?
Explain about core java?
Howmany address lines are required to addressing 1 MB memory?
8 Answers Beatroot Technologies, CSC, HCL, Hexaware, IBM,
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?
What exceptions occur during serialization?
What was java originally called?
Write a program in java to find the maximum and minimum value node from a circular linked list.