Top 15 Java Interview questions and answers for freshers
Top 15 Java Interview questions and answers for freshers Top 15 Java Interview questions and answers for freshers:- In This Tutorial we discuss about Some of Important Java Question Which ask in interview. Question 1 : What is the extension of java code file ? Answer- Java file have .java extension. Question 2: What is difference between '==' and 'equals(....)' in comparing the java string? Answer : - When '==' operator for comparing then that point to the same object and if use 'equals(....)' that means that compare the actual string value. more read about operators topic visit here... Question 3:- What are the various access specifier in java? Answer:- Access Modifier in Java is provide a scope of a fields , methods , constructor and class . there have four type of Access Modifier in Java . 1. Public 2. Private 3. Protected 4. Default 1. Public:- Public access modifier...
0 Comments
Hello Friends, Please comment and share and do not write spam messages