Name the package that always imported by default?
Answers were Sorted based on User's Feedback
Answer / debapriya patra
Its a very easy question.Answer is "java.lang.*" package is
imported by default.
| Is This Answer Correct ? | 25 Yes | 2 No |
Answer / vishal
"java.lang.*"
beause * included all the package. and take it default.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / zahoor ahmed jamali
java.lang
this package always import by default...
| Is This Answer Correct ? | 4 Yes | 0 No |
How static variable work in java?
What is the use of predicate in java 8?
What must a class do to implement an interface in java programming?
How can you set an applet’s height and width as a percentage?
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?
Can It is possible to synchronize the constructor of a Java Class?
What is arrays sort in java?
Define how can we find the actual size of an object on the heap?
Is null a string in java?
When we should use serialization?
how to create constants in java?
What is compiler and what its output.