string is a class or data type in java?
Answers were Sorted based on User's Feedback
Answer / neeraj03
'string' keyword is not valid in java, 'String' is the
correct keyword and it's a class.
| Is This Answer Correct ? | 4 Yes | 0 No |
What is the difference between static polymorphism and dynamic polymorphism?
What is cohesion in oop?
how does a main() in C++ is different from main() in C?
write a program to print * * * * * *
#include <string.h> #include <stdio.h> #include <stdlib.h> #include<conio.h> void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort
Can we create object of class with private constructor?
Whats is abstraction in oops?
how to create thread in java?
17 Answers IBM, Infosys, Wipro,
What is methods in oop?
Why multiple inheritance is not allowed?
can we make a class static without using static keyword?
Get me an image implementation program.