OOP With Java Class - 1: Raghavan P
OOP With Java Class - 1: Raghavan P
Raghavan P
Introdcution
Structured Programming
The structured programming paradigm is: Decide which procedure you want Use the best algorithm you can find Here the focus is on the algorithm required to perform the desired computation In this style of programming, importance is given to procedure (logic) and not(less) to the data on which these procedures operate
OOP - Basics
CLASS OBJECT INSTANCE METHOD MESSAGE PASSING
Assignment
Create classes for each real-world object that you might have observed.
Introduction to JAVA
JAVA TECHNOLOGY
It is both a programming language and a platform.
Java as Programming Language: The buzz words related to the high level programming Language Simple, Object oriented, Distributed, Robust, Secure, Interpreted, High performance,
Java as Platform: The Java platform has two components: The Java Virtual Machine (JVM) The Java Application Programming Interface (API)
Because the JVM is available on many different operating systems, the same .class files are capable of running on Microsoft Windows, Solaris, Linux, or Mac OS.
C:\>javac Example.java C:\>java Example Classpath CLASSPATH tells Java where to search for Class file
Assignment
1. What is Bytecode? 2. Write a Java program to print your name. 3. When declaring the main method, which modifier must come first, public or static? 4. Explain about the parameters used by main method. 5. List and explain the features of Java.