Pergunta de entrevista da empresa HotWax Systems

Java and MySQL Base Question Collection API Concept of String in Java Concept of Inheritance Just ask have you heard about the JDBC and ODBC concept no question but just ask And from my side, Prepare Well

Respostas da entrevista

Sigiloso

17 de ago. de 2022

Ans 1: the most common use object is string object in any project. String object will be immutable Ans 2: In any project we use approx 90% string object because of immutability concept and it use String Constant Pool which is specially design for String object only By they help of SCP it creates a new object when only it required otherwise it use previous one Also increase performance Memory utilization Ans 3: String st = new String (); Ans 4: because of SCP(String constant Pool)

Sigiloso

24 de jun. de 2021

First Listen the Question and give them brief about what they actually want from you like : If they asked like what is String in java so your answer is 1) Define String 2) How is string important in java 3) how you create the String 4) the rare concept Why String is Immutable in java ?