Posts

Showing posts from July, 2019
Image
                   JAVA PROGRAMMING FOR BEGINNERS Introduction to Java                                            Java is defined by a specification and consists of a programming language, a compiler, core libraries and a runtime (Java virtual machine) The Java runtime allows software developers to write program code in other languages than the Java programming language which still runs on the Java virtual machine. The  Java platform  is usually associated with the  Java virtual machine and the  Java core libraries .   Properties of Java ·         Platform independent ·         Object-orientated programming language ·         Strongly-typed programming language ·         Interpreted and compiled language ·         Automatic memory management Java virtual machine         The Java virtual machine (JVM) is a software implementation of a computer that executes programs like a real machine.                    

JAVA PROGRAMMING FOR BEGINNERS

Image
              JAVA PROGRAMMING FOR                                            BEGINNERS Basic concept oops                    ObjectOriented Programming is a programming concept that works on the principle that objects are the most important part of your program. It allows users create the objects that they want and then create methods to handle those objects.  Class          The class is a group of similar entities. It is only an logical component and not the physical entity.  Example -Mercedes, BMW, Toyota   Object                                 An Object contains both the data and the function, which operates on the data. Example - chair, bike, marker, pen, table, car, etc. Inheritance         It’s creating a parent-child relationship between two classes. It offers robust and natural mechanism for organizing and structure of any software.  Polymorphism             Polymorphism refers to the ability of a variable, object or function to take on mul
Image
What is java ?             It is an object-oriented language similar to C++, but with advanced and simplified features. Java is  free to access  and can  run  on  all platforms . Java is: – Ø Concurrent   Ø Class-based   Ø Independent   What is Java used for?              Java has been used in different domains. Some of them are listed below: Banking : To deal with transaction management. Retail : Billing applications that you see in a store/restaurant are completely written in Java. Information Technology : Java is designed to solve implementation dependencies. Android : Applications are either written in Java or use Java API. Financial services : It is used in server-side applications. Stock market : To write algorithms as to which company they should invest in.   Big Data : Hadoop Map Reduce framework is written using Java. Scientific and Research Community : To deal with huge amount of data. Components in Java: JVM (Java Virtual Machine