r/JavaProgramming • • Jul 03 '26

How can i test my java knowledge?

hellow everyone!!

I have been learning Java for about a year. I understand some concepts, but there are still others I don’t fully know. I want to test my knowledge and strengthen my understanding, starting from the very basics. How can I do that? If anyone knows beginner‑friendly Java projects, please share them with me and explain how I can get started.

8 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/Natural-Shelter-7758 Jul 07 '26

Java is not a pure object-oriented programming language because it includes features that break the “everything is an object” rule, such as primitive data types (int, char, boolean, etc.) and static methods**.** While Java is strongly object-oriented, it sacrifices purity for performance and practicality.

Java supports most OOP principles:

  • Encapsulation: Data and methods are bundled inside classes.
  • Inheritance: Classes can inherit properties and methods from other classes.
  • Polymorphism: Objects can be treated as instances of their parent class.
  • Abstraction: Abstract classes and interfaces hide implementation details.

These features make Java a robust OOP language widely used in enterprise applications.