___
___
___
Home
Jobseeker
Recruiter
Programs
Login
Login as Jobseeker
Login as Recruiter
Technical Interview Questions
Home
/
Interview Questions
Technical
STRING
STRING
Is String a keyword in java?
How to count of occurrences of a character in a string?
How to convert string to date?
How to repeat a string?
What substring() method does?
How to convert string to int?
Why is String final in Java?
What is the purpose of toString() method in java ?
Which method of String will you use to remove all white spaces from a string in java?
Which String method will you use to count the number of occurrences of each character in a string?
What is the similarity and difference between StringBuffer and StringBuilder class?
What is the similarity and difference between String and StringBuffer class?
How many objects will be created in the following code and where they will be stored? String s1 = new String("xyz"); String s2 = new String("xyz");
What is the main difference between Java strings and C, C++ strings?
What is string intern?
Where exactly string constant pool is located in the memory?
How many objects will be created in the following code and where they will be stored? String s1 = new String("abc"); String s2 = "abc";
Which one will you prefer among a==a and equals() method to compare two string objects?
What are different ways to create String Object?
Can we use String in switch case?
How do you create mutable string objects?
How many objects will be created in the following code and where they will be stored in the memory? String s1 = "mnc"; String s2= "mnc";
Why StringBuffer and StringBuilder classes are introduced in java when there already exist String class to represent the set of characters?
What is String Pool?
What do you mean by mutable and immutable objects?
Which is the final class in these three classe String, StringBuffer and StringBuilder?
What is special about string objects as compared to objects of other derived types?
Is String a primitive type or derived type?
Does String is thread-safe in Java?
How to compare two Strings in java program?
What does String intern() method do?
Why Char array is preferred over String for storing password?
How to Split String in java?
How to convert String to char and vice versa?
How can we make String upper case or lower case?
Difference between String, StringBuffer and StringBuilder?
Why String is immutable or final in Java
Quick Links to Explore
Fellowship Program
Mentorship Program
Campus-pre Internship
PPO Backed Bootcamp
Dedicated Placement Mentoring
Jobseeker Registration
Create Infographic Profile
Take Test / Challenge Yourself
Interview Questions
Get Instant Reference
Search a Job / Internship
Referral Jobs
Recruiter Registration
Recruiter Login
Instant Job Listingt
Access Database
Bulk hiring Support
Campus Hiring Support
CTC Boost Program
Career Counseling
Program Registration
Service Request
Contact US
Jobs Update