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.
Are constructors inherited ? Can a subclass call the parent class constructor and When?
Write a program to explain do while loop in Java ? // This is the Hello program in Java class Hello { public static void main (String args[]) { int i = -1; do { if (
I just finished a small tutorial on JSP and servlet now I was looking for some assignments so that I can try my hands on
Describe the java.lang package ? Each package describes a number of classes, exceptions, interfaces, and errors. For instance, in Java 1.1 the java.lang package holds these:
List down the Analytical Engine's elements name An analytical engine elements are as follows: Input Memory Processor Output.
What is the use of Wrapper class You can create an object of Wrapper class using a String or a primitive data type Integer num = new Integer (4); or Integer num = n
Describe life cycle of thread. Threads follow the single flow of control. A thread is execution in a program. The life cycles of threads are listed below: Newborn state: A
JavaServer Faces(JSF) is a framework for building web-based user interface in Java. Unlike Swing, JSF provides widgets like buttons, hyperlinks, checkboxes, etc. in dissimilar ways
Explain switch statement in java language? Switch statements are shorthands for a certain type of if statement. It is not common to see a stack of if statements all related
code in dropbox calendar and loop for feruary leapyear
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