JAVA is FULLY OBJECT ORIENTED PROGRAMING LANGUAGE?
Answers were Sorted based on User's Feedback
Answer / shobhit jain
Java is not completely object oriented language as it has
still got built in data types like int, float etc for which
we do not create objects.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / gganesh
Yes, the JAVA is the fully object oriented, bcoz in java we
can create object for main function also, bcoz main function
written in class
| Is This Answer Correct ? | 11 Yes | 6 No |
Answer / umashankar mishra
yes..becoz every thing place in class including main()
and object is created by new operator
| Is This Answer Correct ? | 1 Yes | 1 No |
Describe the difference between a Thread and a Process?
What is multiple inheritance? Give Example
Conversion from a basic type to a class type may be achieved using______________
what is the abstract class,interface ,its difference with a programatic eg.? hi,recently i went for an interview they ask me what is abstract class ,interface and its difference I said abstract class contain abstact method ,abstract method is a method with no body.Abstract class cannot be instantiated.Abstract class is a base class it required derived class for the implementation of method. Interface is a syntactical contract that all derived class should follow it define properties ,method,events which are known as member of interface. Then They asked me what is the difference between them. I said abstract class interface 1.abstact class can implement method 1.interface cant 2.abstact class can contain constructor, 2.interface cant destructor 3.abstract class cannot support multiple 3.interface support inheritance etc Then they said some different answer I said dont no. Then they ask me when i should make abstract class for an project and when i should make interface. I said if suppose there is two class which must be having method with different logic then we sholud make abstract class. and if suppose we have two class having method .with different logic then we can make interface . Am i correct with my explaination.if not correct me .please provide me that when should we create abstract class and interface and what is difference .please help me
Write a C++ program to conduct an election of a mayor.Declare a class ELECTION With the following specification: Data member: Name 25 character Age Integer symbol 1 character Member functions: To accept data for 20 contestant To accept symbol as voting from 100 voters. To declare the winner and the loser.
1 Answers Global Academy, Infotech,
c++ provides classes...and classes do what we want but why then strcut are used...if we say data hiding... it is also provided by c++ in structs then why to prefer clasess
What is persistence in oop?
What is encapsulation in oops?
write a program in c++ to overload the function add (s1,s2) where s1 and s2 are integers and floating point values.
i have to create a view in SQL as like in ORACLE DATA EXPRESS EDITION
What are the 4 main oop principles?
Write on signed and unsigned integers and give three (3) examples each