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.
Define enumeration? Enumeration is explained as values type that having of a set of named values. These values are constants and are called enumerators. An enumeration type is
(Tic-Tac-Toe) Create class TicTacToe that will enable you to write a complete application to play the game of Tic-Tac-Toe. The class contains a private 3-by-3 rectangular array o
Explain about Drawing Lines? Drawing straight lines along with Java is easy. Just call g.drawLine(x1, y1, x2, y2) where (x1, y1) and (x2, y2) are the endpoints of your lines
What is Constructor? A constructor is used to initialize a newly created object. It's called just after memory is allocated for the object. It can be used to initial
Differentiate uni-Processor OS from Multi-Processor OS? Uni-processor OS : Uni-processor OS'es is designed to schedule tasks on a single uPs just whereas Multiprocessor O
Purpose Demonstrate your ability to ability to use Java data and control structures. Draw with the aid of conditionals and loops. Background Thought A note on comments:
Write a JSP to display a table that contains factorials for the numbers from 0 to 10,
Differentiation between a Vector and an array . Explain in Brief about the pros and cons of both?
Describe Logical Operators in Java ? The relational operators you've learned so far ( , >=, !=, ==) are enough while you only required to check one condition. Therefore what if
Explain init(), start(), stop(), and destroy() method? The init() method is known as exactly once in an applet's life, while the applet is first loaded. It's generally used to
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