Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > DATA STRUCTURES, C, C++, VC ++ > ds. c , c++ Interview / Technical Questions
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

ds. c , c++ Interview / Technical Questions Kindly solve an many as questions you can. It will sharpen your skills and those solutions will help others too.

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 06-01-08, 10:30 PM   #1 (permalink)
Junior Member
 
Join Date: Jan 2008
Age: 24
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 1 firefoxx is on a distinguished road
some questions regarding oops

hello friends......i just wanted to ask u all...if u can give me answers to these questions....pls help me if u can....

1) What are the applications of OOPS?
2) Explain memory management in OOPS?
3) Can we have OOPS in Internet? Justify Your answer....
4) What is Exception Handling? Explain with an example....

pls guys...if possible....pls answer some of my questions......
Thanks in advance....
Bye
Take Care.................
firefoxx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-08, 12:08 AM   #2 (permalink)
Super Moderator
 
sk_kireeti's Avatar
 
Join Date: Feb 2006
Location: Hyderabad
Posts: 2,355
Thanks: 117
Thanked 241 Times in 198 Posts
Thanks: 117
Thanked 241 Times in 198 Posts
Blog Entries: 4
Rep Power: 51 sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute
Re: some questions regarding oops

Applications of OOPS -
You can virtually design anything you want as an object. Let me take a concrete example of this page itself.

If have to design this page which you are reading now using OOPS, simply you can assume this "page" itself as an object which inherits all properties from another object called "template". You can "override" any of those default properties from template in "Page" like colors, size, styles and so on. You want to go deeper in to this cycle, you can think page instantiates another object "post" which contains a single post of a thread and this cycle goes on. You can even model each button, field as an object.

Memory management in OOPS -
OOPS is a programing style. Not a methodology to do any activity. So every (OOPS) programing language inherits this style in its own way with its own implementation. OOPS doesn't have such standards in memory management. Every programming language has its own way of doing it.

OOPS in internet -
I couldn't get what you are looking for exactly. If you are talking about internet programming languages, Yes. We have OOPS there too.

Exception handling -
There are two types of exception.
1. Compile time exceptions and
2. Run time exceptions

Compiler takes care of compile time exceptions generally and we are expected to take care of runtime exception.

A simple example is, reading input from user. If you are expecting a number in quantity field of a shopping cart, but user can input an alphabet at run time. This has to handled programmatically using exceptions or other means (like series of validations on fields).

Thanks,
Krishna
__________________
Give 1 cup rice to a hungry Indian just by a mouse click. No money, no form filling, no hassle... Click here for the donation.
sk_kireeti is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to sk_kireeti For This Useful Post:
firefoxx (07-01-08)
Old 07-01-08, 10:18 PM   #3 (permalink)
Junior Member
 
Join Date: Jan 2008
Age: 24
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 1 firefoxx is on a distinguished road
Re: some questions regarding oops

thank you very much.....thanks a lot for replying......it was very helpful....

god bless you...
bye...take care
firefoxx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
tips for interview ozobalu HR Questions 9 23-09-08 12:32 AM
Dug it yathish Companies Info & Recruitment Process 4 10-09-08 06:25 PM
must read all UG students!!!!!!!!!!!!! sanjay Other Queries 15 04-09-08 04:10 PM
Interview Questions Pink Other Queries 15 20-08-08 03:37 AM


All times are GMT +6.5. The time now is 12:37 PM.





Search Engine Optimization by vBSEO 3.1.0