what is the meaning of java.lang and java.util

Answer Posted / kartik kudada

There is no need to import java.lang package, it implicitly
available to java file whereas it is mandatory to import
java.util explicitly .

Is This Answer Correct ?    16 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you read content from file in java?

788


What is the difference between applet and application?

724


public class Test { public static void main(String[] args) { int countA = 0; int countB = 0; int countC = 0; int countD = 0; int countE = 0; int countF = 0; int countG = 0; int countH = 0; int countI = 0; int countJ = 0; int countK = 0; int countL = 0; int countM = 0; int countN = 0; int countO = 0; int countP = 0; int countQ = 0; int countR = 0; int countS = 0; int countT = 0; int countU = 0; int countV = 0; int countW = 0; int countX = 0; int countY = 0; int countZ = 0; } } Can anybody tell me any alternate solution(like loop or something) to automate this initialization process. Ex:- for(char chr='A';chr<='Z'; chr++) { (int) String "count"+chr = 0; }

2065


What is considered an anti pattern?

699


which class is the wait() method defined in? : Java thread

707


Should database connections be singleton?

747


1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?

4362


Which variables are stored in stack?

646


What is jit and its use?

763


How do I convert a string to an int in java?

768


What is general methodology?

789


What is length in java?

749


What does || || mean in math?

691


Name few java util classes introduced with java 8 ?

699


Can list be final in java?

684