is java purely oop Language?

Answer Posted / sweety

Yes,Because everything is inside the class & accesses
methods and variables by only using objects.
as well as the main function is always resides within the
class i.e.similar name given to your file.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is destructor in oop?

815


What are the 4 main oop principles?

958


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

2179


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

2013


Can bst contain duplicates?

969


What is class in oop with example?

857


Why is polymorphism important in oop?

840


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1915


What is new keyword in oops?

816


What is ambiguity in inheritance?

876


What is the difference between procedural programming and oops?

791


Which type does string inherit from?

860


#include #include #include #include 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

2396


write string class as your own class in java without using any built-in function

2239


• What are the desirable attributes for memory managment?

1977