programming-info

java programming

Responsive Ads Here

Friday, May 15, 2020

Java Introduction? Java Basic

Introduction To Java Programming Language:   
                     
      
   Introduction To Java

In this page we will learn About java programming this is the complete explanation of  java programming language.

 JAVA was developed by Sun Micro-systems Inc in 1991, later acquired by Oracle Corporation. It was developed by James Gosling and Patrick Naughton. It is a simple programming language.  Writing, compiling and debugging a program is easy in java.  It helps to create modular programs and reusable code.




Main Features of JAVA programming language:

1. Java is a platform independent language:

Compiler (javac) converts source code (.java file) to the byte code(.class file). As mentioned above, JVM executes the bytecode produced by compiler. This byte code can run on any platform such as Windows, Linux, Mac OS etc. Which means a program that is compiled on windows can run on Linux and vice-versa. Each operating system has different JVM, however the output they produce after execution of bytecode is same across all operating systems. That is why we call java as platform independent language.


2. Java is an Object Oriented language:

Object oriented programming is a way of organizing programs as collection of objects, each of which represents an instance of a class.

4 main concepts of Object Oriented programming are:

3. Simple

Java is considered as one of simple language because it does not have complex features like Operator overloading, Multiple inheritance, pointers and Explicit memory allocation.

4. Robust Language

Robust means reliable. Java programming language is developed in a way that puts a lot of emphasis on early checking for possible errors, that’s why java compiler is able to detect errors that are not easy to detect in other programming languages. The main features of java that makes it robust are garbage collection, Exception Handling and memory allocation.

5. Secure

Java is a strong secure programming language, We don’t have pointers and we cannot access out of bound arrays  if you try to do in java. That’s why several security flaws like stack corruption or buffer overflow is impossible to exploit in Java.

6. Multi-threading

Java supports multi-threading. Multi-threading is a Java feature that allows concurrent execution of two or more parts of a program for maximum utilization of CPU.

7. Portable

As we discussed above, java code that is written on one machine can run on another machine. The platform independent byte code can be carried to any platform for execution that makes java code portable.

                                    
                                                                                                                   
                                                     







Wednesday, May 6, 2020

Introduction to C++ programming Language

     

   Introduction To C++ 





in this page we will learn about c++ programming Language :

What is C++

  • C++ pronounced as ("See Plus Plus") is a programming language began as an expended version of C language.
  • The C++ were first invented  by Bajarny stroustruop in 1979 at Bell Laboratories in Murray Hill, New jersey. 

  • C++ is middle level programming language.
  • C++ is a statically typed, compiled, general purpose, case -sensitive, free-form programming language that supports procedural, object-oriented, and generic programming. 

2 Programming pattern

C++ fully supports object-oriented programming, including the four pillars of object-oriented development: Encapsulation, Data hiding, Inheritance, Isomorphism.Generic programming or Polymorphism is a programming style that allow one value to take on different types as long as certain contracts such as subtypes signature are kept.


3.C++ Basic Syntax

Let us look at a simple code that would print the words Hello World.



 #include<iostream>
using namespace std;

int main()
{
    cout <<"Welcome  to C++";// prints Welcome TO C++
    return 0;
}

 Let us look various parts of the above program:
The C++ language defines several headers, which contain information that is either necessary or useful to your program. For this program, the header <iostream> is needed.
The line using namespace std; tells the compiler to use the std namespace.
The line int main() is the main function where program execution begins.
The next line cout << "Hello World."; causes the message "Welcome To C++" to be displayed on the screen.
The next line return 0; terminates main() function and causes it to return the value 0 to the calling process.





Monday, May 4, 2020

What is Computer Programming? Basics to Learn Coding

 

Introduction to Programming

in this page we will learn about computer programming,A computer program is a sequence of steps to solve a particular problem.when we taking about the computer programming the computer programming is the set of instruction that tell to the computer to do a or do a particular job.
the set of instruction when we write in our programs is called "cod". 

computer programming



in other word 'Computer programming is defined as a process of developing and implementing various set of instructions given to the computer to perform a certain predefined task'.the computer programs is written in computer programming languages. some popular languages are c,c++,java,java script,PHP,python,C Sharp.Their are too many computer programming languages all of these have different syntax and different  different functionality.

Applications of computer programming languages

 some of the popular computer programmings languages with their functionality ar

Python 

python is one of the most popular programming language used in Web and Internet Development, Scientific and Numeric applications, Desktop GUI's, Business applications. It is widely used in AI and Machine Learning space. 

Java

java is the is a platform independence programming  language develop by son-micro-system Mostly used for developing Android apps, web apps, and Big data.

 JavaScript

JavaScript usage include web/mobile app development, game development, and desktop app development.

 Swift

 Swift is a specially designed language which works with Apple's Cocoa and Cocoa Touch frameworks to create all types of iOS apps.

 C++
C++ is widely used in Game Development, Advance Computations, and Graphics Compilers.

C#

Widely used in Enterprise Cross-Application Development,Web Application.

PHP

PHP is a popular general-purpose scripting language Used for Web Development, Content Management Systems, eCommerce Applications


SQL

stands for Structured Query Language used in any Database system.