JAVA notes

programming language : notification for writing programs.

numerical language: fortran and algol.
business language cobol
artificial intelligence language lisp and prolog
systems language 
c

good language should be clear,simple, verifiable,portable.

programming methodology : 1.unstructured
(speed,not reusable,complext)
2.procedural
(top down C - readable,easy to debug, no data security
bottom up)
object oriented
(modularization,abstraction,encapsulation,composability,hierarchy,continuity)

oak --> java
(platform independent,simple,robust,portable,secure, multithreaded,dynamic, distributed )

source code (compiler)-> byte code (executed by JVM) ->(interpreter) machine level interpretation

java is secure because it prevents unsafe operations, automatic garbage collection, security apis, exception handling, no virus communication 

phases of java program 
edit, compile, load in primary memory, verify, execute 

java environment consists of jdk, api

object is anything that can be represented by data (properties)
methods manipulate the properties of objects

class is a group of objects with same properties and methods

modifiers/mutator : changes the value
accessor : returns the value




Comments

Popular posts from this blog

IT resources @ DAIICT

I blinked and the day passed ...

The world is what it is