Java Language Story of Java Java Project was initiated by three members in June 1991, one of them was James Gosling who was a Canadian computer scientist and other was Mike and Patrick(Software developer). A Oak Tree has been in Gosling's Office so he named the language firstly Oak and secondly Green, later Java from a Java coffee. Sun Microsystems is an American company released the first version of java. Java is general-purpose, class-based, object-oriented programming language. It was similar to C/C++ syntax style. Java has feature called " write once,run anywhere ". Java can run on all platforms. It has specific environment to setup. Java applications are typically converted to "bytecode" on Java Virtual Machine. Once the program was written and sent through JVM, it will be converted into portable byte code. Java bytecode is similarly comparable to machine code. Java contains methods, thread, applet. Suppose anyone can develop app...
Python Python is high level(user understandable), interpreted, general-purpose programming language created by " Guido Van Rossum " in 1991. This language is used to write clear code with whitespace. Python used for large projects also. It has it's own garbage collector so that unused variables are destroyed. Python is dynamically typed, structured, functional and object oriented programming language. Python has it's own libraries or you can create your own library. Python 2 and 3 version's are running currently. It was open source and non profit organization(free). Python uses Interpreter and it reads line-to-line in program and executes it. For example, interpreter used in networking devices like routers to read line to line code that can maintain error free. So that you can receive data packet completely or can loose some data packets. In the case of Bob, who is an programmer and hacker uses python for large scale projects. He can create malware scr...
Static Typing/Typed A variable need not to be defined before they are not used. To use a variable that is done by explicit declaration. For example, /* C language code */ #include<stdio.h> void main() { static int sum,num; // explicit declaration sum = 0;//use variables num = 10; sum = sum + num; printf("%d",sum); } Before using a variable must have to declare them. C, C++ and Java are statically typed languages. Errors are shown at compile time. int a = "50";//error shown after execution Dynamic Typing...