Skip to main content

Posts

Decision Making Statements in Java Programming Language.

 Their are 3 decision making statement in Java. Here where ever you find the if underlined like this( if ) then it is related to statement. 1) if statement. 2) if else statement. 3) if-else-if statement. So lets discuss one by one about each statement. 1) if statement:- if statement is used in programming for checking the given condition is true or not. If the condition in the if block is true then the block executes otherwise the programme terminates. Lets understand it by its syntax.   Here in the syntax we have condition in the if block, if the the condition which we have putted is true then the code which is written in the block will executes otherwise the programme ends their.  2) if else statement:- if else statement is used in programming for checking the given condition is true or false. If the condition is true then the if block is executed otherwise the else block is executed. Lets understand it by its syntax. Here in the syntax a condition is given in the if statement, i

History of Java Programming Language.

 *- History of Java-* Java is a general purpose and  true object oriented programming language. Java was originally designed for interactive televisions, but is was to advance technology for the digital cable televisions industry at that time. The history of Java starts with Green-Team. Java team members initiated this project to develop a language for digital devices such as set-top boxes, televisions,  etc. The founder James Gosling,  Mike Sheridan and Patrick Naughton initiated the java language project in June 1991. The language was initially called OAK  . Later the project went by the name Green and was finally renamed Java, from Java coffee, the coffee from Indonesia. Gosling designed Java with C/C++ style that system and application programmers would find familiar. Why it was firstly named as OAK? Oak is symbol of Strength and chosen as a national tree of many countries like U.S.A, France, Romania, etc. In 1995 the Oak was renamed as Java because it was already a trademark by Oa