State the significance of public, private, protected class?
No Answer is Posted For this Question
Be the First to Post Answer
briefley expalin about the packages
What is the size of integer?
Can we declare variables inside a method as Final Variables?
how many access specifiers are available in java
What is the destroy method?
Which container method is used to cause a container to be laid out and redisplayed in java programming?
What is the difference between preparedstatement and statement in java?
What is functional interface in java example?
What is the difference in between cpp and java? Can u explain in detail?
Does list maintain insertion order java?
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 is the output ? Math.floor(-2.1) a)2 b)-2 c)-3.0 d)0