h
Java is an Object Oriented language not a procedural language
Because Java is an object-oriented language and C is a procedural language.
java supports procedural abstraction by means of constructors and methods. in java constructor and methods are always components of particular class. java supports coping parameter only. procedural abstraction is a principle in which the particular language supports some features through which procedures are modelled in the class hiding other details.
Java and Procedural Programming Procedural programming focuses on procedures or functions (like C language). You write code as a series of steps or instructions. Java can support procedural style (you can write functions and use them), but that’s not its main design. Java and Object-Oriented Programming (OOP) Java is primarily an object-oriented programming language. It uses classes and objects to structure code. Key OOP concepts in Java: Encapsulation – Keeping data and methods together Inheritance – Reusing code from other classes Polymorphism – Using a single interface in multiple ways Abstraction – Hiding implementation details ✅ Conclusion: Java supports procedural programming but is mainly object-oriented. So it’s not purely procedural, unlike C.
C++, C#, c+ and java
not much just gets messy and non-procedural
1.modular approach 2.oject oriented approach 3.procedural approach
There are three different methods /functions in java are there : 1)computational methods.2)manipulative methods.3)procedural methods.
C is a weakly typed procedural programming language. For object oriented programming languages near C, you can look at ooc ( http://ooc-lang.org/ ), C++, D, and Java.
POP is Procedural Oriented Programming, this is an approach in which a problem is solved by breaking it into step by step phases of a full procedure.C is a Programming Language is based on this approach.
It is a subset of procedural programing that enforces a logical structure on the program being written to make it more efficient and easier to understand and modify.
example of procedural programming are those programming language that have structure e.g basic,fortran,c++,c and pascal e.t.c