State the significance of public, private, protected class?


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

Post New Answer

More Core Java Interview Questions

briefley expalin about the packages

3 Answers  


What is the size of integer?

0 Answers  


Can we declare variables inside a method as Final Variables?

3 Answers  


how many access specifiers are available in java

11 Answers  


What is the destroy method?

0 Answers  






Which container method is used to cause a container to be laid out and redisplayed in java programming?

0 Answers  


What is the difference between preparedstatement and statement in java?

0 Answers  


What is functional interface in java example?

0 Answers  


What is the difference in between cpp and java? Can u explain in detail?

0 Answers  


Does list maintain insertion order java?

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  


what is the output ? Math.floor(-2.1) a)2 b)-2 c)-3.0 d)0

4 Answers   Accenture,


Categories