Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > Java

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 03-07-2016, 10:50 PM   #1
Kunal
Registered User
 
Join Date: Feb 2016
Posts: 73
Is String a data type in java?

String is not a primitive data type in java. When a string is created in java, it’s actually an object of Java.Lang.String class that gets created. After creation of this string object, all built-in methods of String class can be used on the string object.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Kunal is offline   Reply With Quote

Old 03-18-2016, 10:46 PM   #2
Shivangi Panwar
Registered User
 
Join Date: Nov 2015
Posts: 127
In Java Language Strings can be initialized by enclosing a string value in double quotes. Strings can be concatenated using the plus ('+') operator. So is String considered a Java data type? Inspite of all the above, String is not considered a primitive data type in Java.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Shivangi Panwar is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can main() method in Java can return any data? Shivangi Panwar ASP 1 03-01-2016 10:19 PM
[UK/USA/EU/CA] VPS Servers in Locations, Linux/Windows/RDP/Root Access - Bitcoins AJKpeter Post your ad here 0 01-06-2015 01:09 AM
Cheap Linux/Windows VPS - SSD/VMware/Xen/OpenVZ - CC/Paypal/Bitcoins/Perfect Money AJKpeter Post your ad here 0 12-30-2014 01:07 AM
Choose the right type of belt on belt hangers peter men Post your ad here 0 10-14-2013 07:53 PM
biggest teature of String in java? cianfie Java 0 12-08-2011 09:03 PM


All times are GMT -7. The time now is 09:12 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.