Members BookmarksPolls Fresher Jobs Funny Pictures MCA Projects New Member FAQ  



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

Advertisements


website counter



SCJP Learning & Certification


Posted Date: 17 Jun 2008    Resource Type: Articles/Knowledge Sharing    Category: Computer & Technology

Posted By: srinivas       Member Level: Gold
Rating:     Points: 1



Java OOPS
Every object have attributes and behaviour.
Each Piece of the knowledge is called an attirbute.
The Functionality of the object is behavior.
Some Objects Manipulate other objects.
Object can be part of the other object.

Object Oriented Programming:
OOPS is aProgramming Language model ,organized around object and data.

OOP Advantages:
Re-usability
Flexibility
Extensiblity
Real world modeling is easy with OOP Implemention.
Promotes the reuse of the Code : the code used to define an object can be shared by several objects of an application.
Provides flexibility in the modification of an existing application.
Helps with the maintainance of code,simplified by reducing the dependencies.

OOP Core Concepts:

Back bone of the OOP are,
Class
Object
Abstraction
Encaptulation
Inheritance
Polymorphism


Class:
A class is the bluprint from which individual objects are created.
A class is the Template .

Object:
Real World Things are called the Objects.
Ex:Dog,Desk Bicycle
Characteristics of the Objects:
State
Behavior
An Object stores its state in the fields
Exposes the behavior through methods.

Abstraction:
Abstraction is the process of reducing the information content, in order to retain only the information relavant for a particular purpose.

Attributes of the Attributes:
Coherence.
Conciseness.
Identity.
Completeness.

Encapsulation:
Encapsulation is a process by which you can hide data fields and methods inside the Object.
Use of Encapsulation seperation of an interface from an implementation.

Inheritance:
Derive some properties from their parent object.
New instance of the object inherits all the data and methods from the tested base object.

Polymorphism:
Perform one more functions in a different way.




Responses

Author: srinivas    19 Jun 2008Member Level: Gold   Points : 2
SCJP Java module 1:
Robustness:
Eliminates Pointer arithmetica nd memory management
Interpreted environment - Reduces the compile link load test cycle.
Code Portability - Run on multiple OS

JVM --Java Virtual Machine
Specification provides the hardware platform.
Compiler takes java application source code and generates bytecode.
Bytecodes are machine code instructions for the JVM.

Garbage Collection :
memory allocation and dellocation at run time.
Garbage collection happens automatically during the lifetime of a java techo=nology program.
Avoids memory leaks.

JRE ( Java Run time Environment):
Compiled java Programs converted into byte codes.
Bytecodes are stored in .class file.
loaded, checked and run in an interpreter.
Java Hotspot(JIT).

JVM( Java Virtual Machine) Tasks :
Loads Code.Class loader.
Verifies Code.byte code Verifier
Executes Code.run time interpreter

Compile Time Errors:
1. Javac Command Not Found ( Path not set Properly) /bin
2. Cannot resolve the Symbol .(method name incorrect.)
3. Class Count name of the file and class file name must be same.
Run time Errors:
1.can't find the class. Class name specified in the command line is different from the .class file name.
2.Exception in the Main thread. static main not available for the interpreter to execute.soem proble with main parameters or

signature.





Author: mohan    19 Jun 2008Member Level: Gold   Points : 1
May i know the differences between the scjp 065 and 055 exam differences and what is the portion for 065?


Author: srinivas    20 Jun 2008Member Level: Gold   Points : 2
Kathy Sierra SCJP Guide ..

Kathy Sierra SCJP GUIDE




Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: FireFox 3 Features
Previous Resource: Ebooks , video guides to learn anything in computers - either software or hardware
Return to Discussion Resource Index
Post New Resource
Category: Computer & Technology


Post resources and earn money!
 
Related Resources


Contact Us    Privacy Policy    Terms Of Use   

SpiderWorks Technologies Pvt Ltd. 2006 - 2007 All Rights Reserved.