question for computer
#1

question for computer



.pdf   question for computer.pdf (Size: 307.5 KB / Downloads: 0)

What is meant by Object Oriented Programming?

Ans:OOP is a method of programming in which programs are organised as
cooperative collections of objects. Each object is an instance of a class
and each class belong to a hierarchy.

What is a Class?

Ans:Class is a template for a set of objects that share a common
structure and a common behaviour.
What is an Object?
Ans:Object is an instance of a class. It has state,behaviour and identity. It
is also called as an instance of a class.

What is an Instance?

Ans:An instance has state, behaviour and identity. The structure and
behaviour of similar classes are defined in their common class. An
instance is also called as an object.

What do you mean by Patform independence?

AnsTonguelatform independence means that we can write and compile the java
code in one platform (eg Windows) and can execute the class in any other
supported platform eg (Linux,Solaris,etc).
What is Byte code?
Ans:Byte code is a set of instructions generated by the compiler. JVM
executes the byte code.

How does Java acheive platform independence?

Ans:A Java source file on compilation produces an intermediary .class
rather than a executable file. This .class file is interpreted by the JVM.
Since JVM acts as an intermediary layer.

What is a pointer and does Java support pointers?

AnsTongueointer is a reference handle to a memory location. Improper
handling of pointers leads to memory leaks and reliability issues hence
Java doesn't support the usage of pointers.

What are the good programming practices for better memory
management?


Ans:a. We shouldn't declare unwanted variables and objects.
b. We should avoid declaring variables or instantiating objects inside
loops.
c. When an object is not required, its reference should be nullified.
d. We should minimize the usage of String object and SOP's.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  A Paper Presentation on Software Development Automation by Computer Aided Software seminar paper 4 3,157 23-03-2016, 02:05 PM
Last Post: dhanabhagya
  Computer virus seminar addict 2 2,867 28-01-2013, 03:28 PM
Last Post: seminar details
  BRAIN COMPUTER INTERFACE project uploader 1 1,540 01-01-2013, 10:48 AM
Last Post: seminar details
  COMPUTER SCIENCE AND INFORMATION TECHNOLOGY SYLABUS seminar details 1 1,456 23-11-2012, 01:00 PM
Last Post: seminar details
  Computer Graphics ppt seminar details 1 4,876 31-10-2012, 01:09 PM
Last Post: seminar details
  COMPUTER VIRUSES AND ANTIVIRUSES seminar details 0 1,362 12-06-2012, 01:21 PM
Last Post: seminar details
  Touch Screen Computer Displays seminar details 0 1,130 09-06-2012, 05:31 PM
Last Post: seminar details
  Computer Security Pretty Good Privacy seminar details 0 991 09-06-2012, 04:22 PM
Last Post: seminar details
  Artificial Intelligence- revolution in computer sciences seminar details 0 1,042 09-06-2012, 02:00 PM
Last Post: seminar details
  BRAIN-COMPUTER INTERFACE FULL REPORT seminar details 0 1,044 08-06-2012, 01:32 PM
Last Post: seminar details

Forum Jump: