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.
Question : (a) Explain the concept of polymorphism when used in programs using suitable examples of your own. (b) (i) Distinguish between abstract methods and non-abstrac
Explain try and catch exception in java? Why use exceptions instead of return values? 1. Forces error checking 2. Cleans up your code through separating the normal case from
how to write a java program for pebble merchant
How we Declaring Arrays in java language? Like all other variables in Java, an array must have a exact type such as byte, int, String or double. Just variables of the appropria
The class TurtleQTwo extends Turtle by adding one new method, plus, which is specified below. (All other features of TurtleQTwo are the same as for Turtle.) method plus(n in
Define a function that will take a box type of object as argument and return a box object whose dimension is 10 times more than the object
definition
What is Runnable JAR archives You can run a program stored within the JAR archive that has a main() method like this: $ java -cp eharold.jar MainClassName You must use the f
we can insert elements at rear and remove at front bt my question is that how we insert at front in circular queue
what is java program
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