ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
Java violates few objected oriented  concepts. Can you
explain in what way?
 Question Submitted By :: Maria
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Java violates few objected oriented concepts. Can you explain in what way?
Answer
# 1
Multiple Inheritence
even if it is supported through the interfaces
it's not possible through basic object oriented concepts
 
Is This Answer Correct ?    2 Yes 2 No
Pushpa
 
  Re: Java violates few objected oriented concepts. Can you explain in what way?
Answer
# 2
Java is not a pure object oriented language that's true
because when we use int,float,char we need not define any
class for that their is a class called raper classes which
are by default give this made the java to violates some
object oriented concept...
 
Is This Answer Correct ?    3 Yes 0 No
Rohan
 
 
 
  Re: Java violates few objected oriented concepts. Can you explain in what way?
Answer
# 3
There are only three language in the world which is
pure-object oriented 

a)effilmore

b)Small-Talk

c)Ruby

So therefore for pure object oriented programming there are
six concept

a)Encapsulation

b)Polymorphism

c)Inheritance

d)Abstraction
//These two e) and f) are not supported by java and hence
java is not //pure object programming language-----it is
only true //object oriented programming language.....
e)There should not be primitive

f)And there should not be any boudation on classes.

Thanks and Regards
Anjani Kumar Jha
09623154095
CDAC,PUNE 
 
Is This Answer Correct ?    1 Yes 0 No
Anjani Kumar Jha
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What is difference between abstract class & final class  5
What is the difference between serialization and deserialization? ABC2
what is the Arraylist limit (maximum) by default ? Fidelity6
what is session facade ?  2
what are the oops concept in java explain with real time examples Tech-Mahindra4
what is the use of finalize()Method please explain with an example  2
What is the immediate superclass of the Dialog class?  1
Can a lock be acquired on a class?  2
Difference between array and arraylist. Sai-Softech4
What is yielding and sleeping? how they different?  2
what is the difference between HashMap and Hashtable Value-Labs8
How multipleInheritance is possible in java? Satyam16
What is casting?  3
What happens when you assigned a 'double' value to a 'String'?  6
String is a immutable objects . it means that string does not change........... But it will be chang......... { String s="kapil"; String s1="raj"; String s=s1; then print(.......) The String has been changed .. how it is possible and why its called immutable objects  3
What is difference between Iterator and for loop  4
what is difference between servletconfig and servletcontext? AMDOC3
why Runnable interface is preferable than extending the Thread class? Wipro5
write java code to print second max number in the array Huawei9
what is ennumaration? AMDOC1
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com