What is the string ?

Asked by Last Modified  

36 Answers

+1 Java Programming

Follow 0
Answer

Please enter your answer

Certified Salesforce Trainer with 9 years of experience in IT Industry

String is a primitive data type. Eg: String name = ' praveenn'; now praveenn is a data whose type is string.
Comments

Java Trainer

Hi Ashish, String is a class in JAVA. Objects of which are immutable. Like X in algebra u can create any variable of type String which will hold the value in the form of "character" or "sequence of characters". Eg. String x= "Ashish"; x will have value "Ashish". Regards.
Comments

Java and dev ops engineer(Core Java,JDBC,Servlet, SQL, Spring, Spring MVC, Spring JDBC) Hyd

1.String is immutable. 2.String is class in java also called referenced data type. 3.It holds collection of characters with out having size limitation. 4.String class contains no of methods to do operations on strings like trim(), charAt(), to Upper Case() etc. 5.String only contains string pool area. 6.String...
read more
1.String is immutable. 2.String is class in java also called referenced data type. 3.It holds collection of characters with out having size limitation. 4.String class contains no of methods to do operations on strings like trim(), charAt(), to Upper Case() etc. 5.String only contains string pool area. 6.String objects which are there in string constant pool area not eligible for garbage collector. read less
Comments

Excellence Award Winner ( 7 times )

String is a datatype. It is a sequence of character (statements contains spaces & number etc). Whatever we will write inside double quotes will be treated as a string.
Comments

Tutor

It is a mutable data type.
Comments

String is sequence of characters. In Java string is a class defined for character sequence whereas in C/C++ string is a character array or a user defined data type.
Comments

Love teaching

String is a datatype. It is a sequence of character (statements contains spaces & number etc). Whatever we will write inside double quotes will be treated as a string.
Comments

Java,Salesforce Training

It's depends on the context of programming language that you are going to use because in C and C++ array of characters map string. In Java, it is class.but strictly speaking it is combination of characters.
Comments

Mathematics and computer science Professor with 17 years Teaching Experience

String is an objects. It represents a sequence of characters. In java String is a class, it performs various operations like equals(), compare(), concat(), substring() etc.
Comments

Artificial Intelligence (AI) Data Science Math Stats ML DL Agent Python R Experienced & certified

A string is a data type used in programming, such as an integer and floating point unit, but is used to represent text rather than numbers. It is comprised of a set of characters that can also contain spaces and numbers.
Comments

View 34 more Answers

Related Questions

I am in first year engineering and my communication skills are very low. I cant speak properly even with my friends. I am constantly afraid what they will think about me. So, I want to build my confidence and communication skills.what should I do?
English is a language that is indispensable in this modern day world, in every sphere of life. This widely used global language has vast applications in any field one wants to venture. As such in this...
Profile Photo
Prakarsha
What is the difference between Projection and View?
Hi Priyanka, A Projection is an anticipated data that is forecasted for a specific set of conditions. As its a predicted set of information, it is not a REAL value that is currently in place. Whereas...
Profile Photo
Priyanka
0 0
View Comments5
What should be the fees for b.tech physics in faridabad on per hour basis
It depends upon whether you're taking class at your home or tutor's institute.
Profile Photo
Mehak G.
How can I get good score in class 10?
For getting good score regular study is very important.Study start from the beginning of syllabus given.First understand topic and remind it and recall your memory.When the examination come near study...
Profile Photo
Raj

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Admixtures properties
Concrete Admixtures – Types, Selection, Properties and Applications Concrete admixtures are used to enhance the properties of concrete for applications in concrete...
T

Thati Anil Kumar

0 0
View Comments0

Work, Power and Energy
A

Arnab Bhattacharjee

0 0
View Comments0

Introduction To Network Theory (For EE/EEE students)
Network: In general Network is the interconnection of various horizontal and vertical lines in a regular fashion. Electrical Network: (Logically speaking) It is the interconnection of all the electrical...
Profile Photo

Graphic Design
Introduction to Graphic Design is an activity-based syllabus that teaches design principles and image editing and illustration techniques for producing design projects for web, print, and video delivery....
Profile Photo

Material Science and Metallurgy
Hello, I would like to show very first how to visualize the subject. For this, we should have total concentration. To avoid obstacle coming in front of us, we will follow the following steps. Close your...
Profile Photo

Recommended Articles

MBA, Medicine and engineering are the three main professional courses in India. Engineering is still one of the highly sorted after professional courses in the under graduate level, while MBA is favoured as a preferred post graduate course. To shine in these courses, one needs to work and study hard. Engineering as a...

Read full article >

According to a recent survey conducted by the NCAER (National Council of Advanced Economic Research), engineering is the most sought after course in India. Some engineering courses are offered as BE or Bachelor of Engineering while some as Bachelor in Technology or B.Tech. Since engineering is a professional course, the...

Read full article >

Learning for every child starts from a very young age. While the formal methods include school curriculums and private lessons, the informal methods include dancing, music, drawing, and various fun-filling activities. Playing games and practising these types of activities helps the children get out of boredom and...

Read full article >

Once over with the tenth board exams, a heavy percentage of students remain confused between the three academic streams they have to choose from - science, arts or commerce. Some are confident enough to take a call on this much in advance. But there is no worry if as a student you take time to make choice between - science,...

Read full article >

Looking for BTech Tuition ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you