why java is called as a purely oops language.
Answers were Sorted based on User's Feedback
Answer / bhagya
java is called purely oops language why because poor opps
language means every thing should be done with the help of
objects only.in java whenever it is still using the c types
(just java is using the best functionalities in java)it is
possessing the oops concepts.it is clear that in java every
thing should be with in a class or a object.with out using
object we cannot do any thing in java.
Is This Answer Correct ? | 8 Yes | 3 No |
Answer / sujith
Java is not at all a purely oops language.
A language is called to be purely oops language if and only
if what ever we use in that are objects, including data
types. java still uses c types only except for Strings.
Is This Answer Correct ? | 8 Yes | 6 No |
Answer / kiran
In Java,since every statement is written under some class( including main()), we can call-it pure o-o. But, Smalltalk is the language that is pure o-o than java
Is This Answer Correct ? | 0 Yes | 0 No |
here is a link to download Let_Us_C_-_Yashwant_Kanetkar
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
IS it possible to define a zero sized array in c.if it is possible how can the elements of that array can be accessed.array index starts from zero,if it is possible to define zero sized array how can be its first element can be accesseed.
What are data structures in c and how to use them?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
#define MAX 3 main() { printf("MAX = %d \n",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif
how to swap 4 number without using temporary number?
how can I convert a string to a number?
what will be the output for the following program? main() { char ch = 'k'; char c; printf("%c",c); }
The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.
What is a structure and why it is used?
What is an auto keyword in c?