image

Cracking Core Java Interviews 3rd Edition

A Comprehensive Guide to Crack Core Java Interviews in Investment Banks, HealthCare IT & Startups. It covers Core Java, Algorithms, Data Structures, Concurrency, Hibernate and Spring MVC.

Specifically for investment banking domain, healthcare IT and product companies i.e. UBS, RBS, Blackrock, Morgan Stanley, JP Morgan, Nomura, Barclays, Citibank, Markit, Bank of America, Goldman Sachs and other companies i.e. Global Logic, Adobe, hCentive, Edifecs, Expedia, Infosys, TCS, Sapient, Wipro, HCL etc.
Free Chapters PDF
1006 downloads
Buy Full PDF ₹250
3rd Edition
Last Updated : Tuesday, February 2, 2016 12:53:46 PM IST Total Page Hits 344

Is Java Pure Object Oriented Language ?

What is OOP (Object Oriented Programming) ?

Wikipedia definition OOP

Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects”, which are data structures that contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods.

Java follows Object Oriented Paradigms except in few cases, which are -

  1. Java has primitive types which are not objects like int, float, char, etc. But Java has added wrapper classes for most of these that can used in Collections Framework like Integer, Double, Character, etc. So Java has support for OOP after these Wrapper classes.
  2. Java 8 added lambda expressions which are like function pointers, they are not typically allowed as per OOP

Popular Object Oriented Languages are - Python, C++, Java, .Net, Ruby, Objective-C, SmallTalk, etc.

But in my opinion, 100% object oriented doesn’t mean much, really !




Similar Articles

1. Synechron Java Interview Questions

Collection of Java Interview Questions (Core Java, Spring, database and other concepts) for Synechron in banking and finance domain

2. Design Metro Smart Card System for Delhi using Java

Design a program in Java for Metro Smart Card System in Delhi. Evaluation criteria will be based on code completeness, code structure and quality, modularity, usage of OO principles, choice of data structure and unit tests.

3. What does volatile keyword do in a multi-threading environment

volatile keyword helps programmers write thread safe program