Name the package that always imported by default?

Answers were Sorted based on User's Feedback



Name the package that always imported by default?..

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

Name the package that always imported by default?..

Answer / ravikiran

java.lang

Is This Answer Correct ?    16 Yes 3 No

Name the package that always imported by default?..

Answer / vishal

"java.lang.*"
beause * included all the package. and take it default.

Is This Answer Correct ?    7 Yes 0 No

Name the package that always imported by default?..

Answer / zahoor ahmed jamali

java.lang

this package always import by default...

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Core Java Interview Questions

Question 6 [9] 6.1 In what situations (in general) would you use a TreeMap? (3) 6.2 In what situations (in general) would you use a HashSet to store a collection of values?

1 Answers  


Is hashset sorted in java?

0 Answers  


If an object is garbage collected, can it become reachable again?

0 Answers  


Hey buddy.. can you please tell me about the use of marker interface? And is there any link between marker interface and factory methods? Thanks in advance.

2 Answers  


Explain JSP life cycle

1 Answers   Cap Gemini,






Can we have more than one package statement in source file ?

0 Answers  


What is the use of put method?

0 Answers  


Is it possible to declare abstract class as final?What happens if we do so?

1 Answers  


how to get the max salary and name of employee from arraylist without using the Comperator or even Comparable interface?

2 Answers  


Why java doesn’t support multiple inheritances?

0 Answers  


Is sizeof a preprocessor?

0 Answers  


Why java is a platform independent? Explain

0 Answers  


Categories