December 28th, 2012 01:53 AM
I have just tried the program without the .class files and copying only the .java ones and it worked. You were right and thanks a ton for that :)
December 28th, 2012 01:39 AM
Hello Phillp
I have copied the .java classes into my project and it works fine. I do not need to import them any more. But I still cannot use the .class files and it gives me the same error. This...
December 27th, 2012 11:18 PM
Thank you Phillip
The package "pack" is just a folder containing files with .java and .class extensions. We are asked to create a program that contains four classes which should use the files...
December 27th, 2012 10:15 AM
Yes but are these not two different websites?
December 27th, 2012 08:25 AM
Hello all
I am a student and I am new to Java. I have created a simple Java program. We have been given a package to import into the program we have developed. The classes of the package are...
August 5th, 2012 01:33 PM
Thanks D_Drmmr for this useful example :)
August 5th, 2012 12:36 PM
I am sorry for being silly Paul and Laserlight.
I think I need detailed study to fully understand the concepts. Any way thanks a lot.
August 5th, 2012 12:12 PM
The value of "cNancy" in both of the above cases is eventually equal to that of "cMark". Is this correct?
August 5th, 2012 07:35 AM
That's what's written in one of the websites
Cents cMark(5); // calls Cents constructor
Cents cNancy; // calls Cents default constructor
cNancy = cMark; // calls Cents assignment operator
...
August 5th, 2012 07:00 AM
Paul I know which one uses copy constructor and which one uses assignment but what are the uses of each of these two ways? why not we just always use a copy constructor or why not always an...
August 5th, 2012 06:17 AM
I have now gone through few of the websites to clear my concepts about copy constructor and assignment and have found out that these are just two different ways that serve the same purpose, one...
August 4th, 2012 02:56 PM
Thanks laserlight :). Virtual destructor concept is now clear to me
August 4th, 2012 09:04 AM
Thank you all
I still have few confusions.
1) If any of the functions of the base class is virtual then destructor should also be virtual. What will happen if destructor is not virtual?
2)...
August 2nd, 2012 09:19 AM
Hello All
Below are the few questions that were asked in an interview. Can anyone please explain to me the answers in an easiest way with examples.
1) Volatile object
3) Can...
April 18th, 2012 08:44 AM
Oh thank you so much Victor :)
April 18th, 2012 05:01 AM
but first I need to know the meaning of what is "Multi-level algorithms" and "date-driven scheduling"?
April 18th, 2012 04:47 AM
That is one of the requirements of a job I have applied for. I do have an idea of the rest but I didnt understand this one
April 18th, 2012 04:05 AM
I did try but couldnt find any easy definition/way to understand.
April 18th, 2012 03:25 AM
Hi all
Can anyone please tell me what is Multi-level algorithms for date-driven scheduling?
Thanks
March 31st, 2012 03:31 PM
Hello everyone.
I found this method
TCHAR win_getch()(below) on a website which is used for printing the characters as the keys on keyboard are hit i-e without hitting the ENTER key. This method...