- The first generation languages, or 1GL are low-level languages that are machine language.
- The second generation languages, or 2GL are also low-level languages that consist of assembly languages.
- The third generation languages, or 3GL are high-level languages such as C.
- The fourth generation languages, or 4GL are languages that consist of statements similar to statements in a human language. Fourth generation languages are commonly used in database programming and scripts.
- The fifth generation languages, or 5GL are programming languages that contain visual tools to help develop a program. A good example of a fifth generation language is Visual Basic.
Object-Oriented Programming Object Oriented programming is a programing model that is based upon data and object. Classes Classes are the blueprint of objects. Now you will think about what actually blueprints are. Blueprints are actually a design or plan to build something. Let's take an example like the map is detail plan of house classes are detail plan in Object-Oriented programming. let's give you an example of a class on java so that you can unferstand. public class Car { int horsePower; String name; String color; String Company; } public class Sample { public static void main(String[] args) { Car car; Car mehran; } } Class name always start with capital letters . It is a good practice to name classes . We will later learn how this is good. So in the above class Car ...
Comments
Post a Comment