What is the function of the classes in structured programming, is it the same as that of oop? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the function of the classes in structured programming, is it the same as that of oop?

Clarify again, excuse me if it is misspelled, I use the Google translator.

2nd Feb 2020, 4:46 AM
Solestebano
5 Answers
+ 3
Structured programming does not have or use classes. C is a good example of a language normally used. Java can not do structured programming because everything is in classes making it OOP. But, you can simulate by making all methods static.
3rd Feb 2020, 2:04 AM
John Wells
John Wells - avatar
+ 4
In object-oriented programming, a class is an extensible program-code-template for creating objects, providing initial values for state (member variables) and implementations of behavior (member functions or methods).
2nd Feb 2020, 5:24 AM
BroFar
BroFar - avatar
0
This article should explain everything plus a bit more in java https://hackr.io/blog/object-oriented-programming-oops-concepts-in-java-with-examples
2nd Feb 2020, 5:00 AM
BroFar
BroFar - avatar
0
No, you got it wrong. I want to know what is the function of the classes in structured programming.
2nd Feb 2020, 5:20 AM
Solestebano
0
No, in structured programming. Lol
2nd Feb 2020, 6:31 AM
Solestebano