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 |
Explain null pointer.
#define DCHAR char* typedef char* TCHAR; if using these following variables will be declared like DCHAR ch1, ch2; TCHAR ch3, ch4; then what will be types of ch1, ch2, ch3 and ch4?
1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?
What are the different types of linkage exist in c?
What are the different categories of functions in c?
What is sizeof int in c?
number 2 plssssss help !!....using array.. turbo c.. create a program that will accept a number and determine if it is a happy number or an unhappy number.. example: enter a number : 7 7*7=49 then 4 and 9 4*4 and 9*9== 16 + 18 gives you 97 then 9 and 7 9*9 and 7*7 == 81 + 49 gives you 130 then 1 and 3 1*1 and 3*3 == 1 + 9 gives you 10 1*1 gives you 1 sample output: 7= 49= 16+81= 97= 81+49=130 =1+9=10 =1 "7 is a happy number" . if the last number is 2 then the number being inputed is not a happy number.
What is the output of below code? main() { static int a=5; printf("%3d",a--); if(a) main(); }
pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?
2 Answers eClerx, Excel, kenexa,
Describe the order of precedence with regards to operators in C.
There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,another has combination of apple and orange,what is the least way of interchange the lables.
15 Answers Cisco, Google, MBT,
How can you find the day of the week given the date?