IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
2066INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
2204create a class complex having real and imaginary part of a complex no. as a data member. overload the binary operators(+,- and *) to perform the operations on complex no. objects. overload binary operator using friend function.
2 5758why in java first invoke public static void main(String args[]) method????Why not public static void method1(String args[])??
1 3268
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is property in oops?
Explain the concepts involved in Object Oriented programming.
What is the types of inheritance?
What is the difference between procedural programming and oops?
What is polymorphism and example?
What is the importance of oop?
#include
what are the realtime excercises in C++?
What is overriding in oops?
Why is encapsulation used?
Why is abstraction used?
What is the use of oops?
What is object and example?