Object Orientation in Java [class notes]

Learning Goals The object oriented aspects of Java includes learning: Classes: how we create them and use them Classes as reference type: (and how they are different than primitive types) Encapsulation and access modifiers (details of classes remain inside of classes) Methods: basic behavior and creation field accessors and mutators:…

Introduction to Java

Java is a general-purpose computer-programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible. Source: Wikipedia Code structure in Java A source-code file (with the .java extension) holds class. The class contains the methods and the methods contain the statements. // This is…

C Programming: Features of C

[Note: This is a continuation of previous post Getting to know C ] Variables So, the previous example showed you how to compile and run a C program. The example we used above was intentionally kept simple to allow you to focus on learning about compilation. Let’s take a look…

C programming: Getting to know C

Introduction In this course we will learn the C programming language from the basics. C is a simple, small, yet very powerful programming language. C is the sturdy foundation in which many modern programming languages (including but not limited to Java, C++, C#, JavaScript, PHP, and PERL) are built upon.…