ishani sharma

Greenhorn
+ Follow
since Jun 23, 2010
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ishani sharma

yes you must take 2 ID proof both having your signature and atleast one having your photo if you hav registered through PearsonVUE otherwise your examcenter head wont allow you to take the exam.
So be sure you have 2 ID proof both having your signature and atleast one having your photo
As the compiler knows only about the references and not about the object hold by those references at the compile time so compiler checks whether the Animal class has a method named eat.
Yes it does.
So the compiler is happy to see that but compiler says wait a minute a could see an Exception that is neither handled nor declared and this upsets the compiler.
So you must either handle or declare that main throws an exception and then the compiler will be happy
Thanks Dennis
Thanks Gaurav

At (2) the size of set remains 2 even though we have removed i2 from the set.Why???
Thanks in advance.
Hama can you please explain how 2 Long objects alongwith objects created at 11 and 13 are eligible??
check this thread

Henry Wong wrote

Four objects -- two Icelandic objects (created at line 11 and line 13) and the two Long objects contained in those two Icelandic objects.



Is what he said is wrong?? which objects are eligible at 15. ??
hi,
I was reading through and found that in following codes

#1

At (1) 3 objects are eligible for garbage collection.


#2

At (2) 4 objects are eligible for garbage collection


#3


Please tell me whether i am right and where i am right and where i am going wrong??
Hello Sir,
I just want to confirm whether the questions related to Queue are on the exam??

Thanks in advance
How can i read a column from excel using JSP??
hello.
my code:



it throws error:
Exception in thread "main" java.lang.NullPointerException
at edu.trialpackage.databaseConnection.OracleConnect.main(OracleConnect.java:19)



can you please tell me where i am wrong..
Yes Sir it did.
Thanks again.
11 years ago
Thanks sir....
the link was very helpful
11 years ago

E:\>javac \EclipseWorkspace\TRIAL\src\trialpackage\SubclassB.java
\EclipseWorkspace\TRIAL\src\trialpackage\SubclassB.java:3: package edu.java.trialpackage.ch04.accessibility does not exist
import edu.java.trialpackage.ch04.accessibility.*;
^
\EclipseWorkspace\TRIAL\src\trialpackage\SubclassB.java:8: cannot find symbol
symbol: class SuperclassA
public class SubclassB extends SuperclassA {
^
\EclipseWorkspace\TRIAL\src\trialpackage\SubclassB.java:23: cannot find symbol
symbol : class SuperclassA
location: class trialpackage.AnyClassB
SuperclassA obj = new SuperclassA();
^
\EclipseWorkspace\TRIAL\src\trialpackage\SubclassB.java:11: cannot find symbol
symbol : method superclassMethodA()
location: class trialpackage.SubclassB
superclassMethodA();
^
\EclipseWorkspace\TRIAL\src\trialpackage\SubclassB.java:18: cannot find symbol
symbol : variable anyVar3
location: class trialpackage.SubclassB
System.out.println("anyVar3: "+ anyVar3);
^
\EclipseWorkspace\TRIAL\src\trialpackage\SubclassB.java:23: cannot find symbol
symbol : class SuperclassA
location: class trialpackage.AnyClassB
SuperclassA obj = new SuperclassA();
^
6 errors


Although it compile well with my IDE..
11 years ago
hello...
i wrote a java program which imports another classname from a different package,
but when am compiling the program from cmd it says package doesnot exist(the imported one).
Can you please tell me the possibilities where i cud be wrong...
i am trying since yesterday but cant figure it out:rolleyes:
11 years ago