Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Question:
(a) What are the main differences between an object and a class? Illustrate with appropriate examples.
(b) Differentiate between a global variable and a local variable. You may use a simple Java program to illustrate your answer.
(c) What do you understand by the term ‘constructor' in Java? Explain your answer with an appropriate example.
(d) Declare and initialise an array of type float of size 5 to store the marks obtained by a student at his examinations. Initialise the array with the following values {65, 57, 75, 49, 88}.
Write the code fragments in Java to find:
(i) the average mark obtained by the student at the examinations. (ii) the highest mark obtained by the student. (iii) the lowest mark obtained.
Describe Polymorphism? Polymorphism can be referred as one name many forms. It's the ability of methods to behave differently, depending upon object who is calling it. Key feat
The flow control statements give you to conditionally execute statements, to repeatedly operate a block of statements, or to just modify the sequential flow of control.
Objective: create a simple object, put that object in a simple collection class, use that object and collection in a simple GUI application. Specification: Consider a Librar
What is the purpose to use the enableEvents() method?
Point-to-Point : gives a traditional queue based mechanism where the client application forwards a message through a queue to typically one receiving client that accepts messages
Write a program on Filling Rectangles ? The drawRect() method draws an open rectangle, a box if you prefer. If you need to draw a filled rectangle, use the fillRect() method. O
Write a JavaScript program to prompt the user for the radius of a sphere and call function sphereVolume to calculate and display the volume of the sphere in the status bar.
Assume all the obstacles are of height 4 units and the blocks are of heights 1 (bottom), 2 (top), 1 and 2 (top) units respectively. Complete the control() method of the RobotContr
The == gives true, if the variable reference points to the similar types of object in memory. That is a " shallow comparison ". The equals () - gives the results of run
What does the exportObject of UnicastRemoteObject do? Ans) Exports the remote object to make it available to receive incoming calls, using the certain supplied port. If port not
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd