Explain the differences between static and dynamic variables?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Why are variables important in research?

0 Answers  


What is a get method?

0 Answers  


1.what is the exact difference between applet and frame? 2.Do we use main method in frames?

5 Answers  


What is the difference between compare and compareto in java?

0 Answers  


Can a final method be overloaded?

0 Answers  






What is the differenc between Enemuration interface and iterator interface according to accessing?

4 Answers  


What is the static import?

0 Answers  


What is update method and when it is called?

2 Answers   TCS,


How many types of string data types are there?

0 Answers  


What will be the output of round(3.7) and ceil(3.7)?

0 Answers  


Which class represents the socket that both the client and server use to communicate with each other?

0 Answers  


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?

5 Answers  


Categories