Programming Shortcut

Write, Run and execute Your programs with simple and esay way by Programming Shortcut

Showing posts with label .Net. Show all posts
Showing posts with label .Net. Show all posts

Monday, July 29, 2019

Function Oriented Programming and Object-Oriented Programming


What is the difference between in the Function Oriented Programming and then Object-Oriented Programming :

In the Function Oriented Programming and then Object-Oriented Programming and obviously, there are many good points and bad points of both programmings,
I have listed a brief summary of the different facilities that the Functionality Programming and then Object Oriented Programming provide us.


Function Oriented Programming:-


Programming Organization: Program is divided into small parts called functions.
Importance: Importance is not given to data but to functions.
Approach: Function Oriented Programming follows a top-down approach.
Access Specifiers: Function Oriented Programming dose not any access specifier.
Data Moving: Data can move freely from function to function in the system.
Maintainability: To add new data and function is not easy.
Data Access: function uses global data for sharing that can be accessed freely from function to function freely in the system.
Data Hiding: No data hiding is possible, hence security is not possible.
Overloading: Polymorphism is not possible.
Examples: C, Visual Basic, FORTRAN, Pascal.
 

Object-Oriented Programming:- 

Programming Organization: Program is divided into parts called objects.
Importance: Importance is given to the data rather than procedures.
Approach: Object-oriented programming follows a bottom-up approach.
Access Specifiers: Has three access specifiers, namely:- Public, Private, Protected.
Data Moving: Object can move and communicate with each other.
Maintainability: Provides an easy way to add new data and function.
Data Access: Object uses local data and can be accessed in a controlled manner.
Data Hiding: Provides data hiding, hence secured programming is possible.
Overloading: Ploymarphism is possible.
Exmaples: C++, JAVA, VB.NET, C#.NET.

More Code »

Monday, April 29, 2019

Difference Between Java and Dot NET

The purpose of writing this article is to provide a layman term of explaining the similarities and difference between Java and .NET. I always have students asking me the difference between each of them and whenever I answered their question, they still have doubts due to the lack of fundamental understanding between each of them.

So before we start comparing them, we must first understand their definition. What are they? What do they do? Who developed them? What do they contain and etc?

Java

Java is an open source implementation of the Java Platform, developed by Sun Microsystem (bought over by Oracle). Its Java programming language is a lightweight programming language that can be run on any operating systems such as UNIX, Linux, Windows and etc. with the help of JVM (Java Virtual Machine). Source programs that are written in Java, is first compiled to machine independent code, called bytecode. During run time, the virtual machine reads the bytecode and executes it by translating it to target machine instructions for the operating system.

.NET

.NET is a software framework developed by Microsoft. It runs primarily on Microsoft Windows Operating System. The .NET framework consists of two key components: .NET Framework Class Library, and Common Language Runtime (CLR). The .NET Framework Class library has a collection of programming languages that are capable of developing different types of software applications such as desktop, server, and mobile applications. These include support for simple data types, I/O functionalities, database support, Graphical User Interfaces (GUIs) and etc. Common Language Runtime provides support for Microsoft Intermediate Language (MSIL) code execution, by providing features such as code checking and compilation.

After having a basic understanding of each of them, I will be providing a comparison between them. I will first compare them based on their similarity, then follow by their difference in terms of developing different types of software application such as desktop, web and mobile applications.

Similarities

Both are capable of developing quality and high-end application software.
Both have programming languages that serve different types of software application needs.
Both have a collection of APIs for development purposes.

Differences in Desktop Application Development

Java AWT (Abstract Window Toolkit) and Swing Library are used to develop Java Desktop Application. To develop a more interactive Desktop Application like Adobe Flash, developers may use JavaFX.
.NET has a popular desktop development platform that uses the Windows Forms, Windows Presentation Foundation, and Silverlight.
Both platforms, Java and.NET provides drag and drop features for implementing a desktop application in their Integrated Development Environment (IDE)

Differences in Web Application Development

Competition between the use of Java Enterprise Edition and Microsoft ASP.NET in developing dynamic web application software.
JEE mainly uses Apache Tomcat as their application server and Microsoft ASP.NET uses Internet Information Services (IIS).

The difference in Mobile Application Development

Competition between Java Mobile Edition (Java ME) and.NET Compact Framework.
More Code »
Older Posts Home

About Programming Shortcut

This is a programming learning website that can help you learn and when your write your programming code. And all programming code is compiled run programming code in the following programming language C, c++, Java, php and Javascript Languages. find your programming read, understand the programming then copy and past and run your program and save your golden time to typing the program becuse you learn more in leas time. All Programming is codeing is ease to understand the programming