You are viewing our Forum Archives. To view or take place in current topics click here.
New to coding, help!
Posted:

New to coding, help!Posted:

Eggcision
  • New Member
Status: Offline
Joined: Nov 30, 201211Year Member
Posts: 8
Reputation Power: 0
Status: Offline
Joined: Nov 30, 201211Year Member
Posts: 8
Reputation Power: 0
At first, I was getting this warning to compile with -xlint and i fixed it..
I opened up Eclipse and opened the file where the errors are at, this is the list from CMD (the errors)

Class73.java:246: warning: [unchecked] unchecked call to getDeclared
,Class<?>...) as a member of the raw type Class
((String) objects[1], (Class[]) objec
^
Class30_Sub16.java:161: warning: [unchecked] unchecked call to getMe
Class<?>...) as a member of the raw type Class
.getMethod("maxMemory", new Class[0]
^
Class30_Sub6_Sub12_Sub1.java:23: warning: [unchecked] unchecked call to softreference(T) as a member of the raw type SoftReference
aSoftReference5107 = new SoftReference(object);
^
where T is a type-variable:
T extends Object declared in class SoftReference
3 warnings
Press any key to continue . . .






I have no clue on how to fix it, or even what to search for a tutorial, can someone help me on how to fix it?
#2. Posted:
Kyle93
  • Winter 2021
Status: Offline
Joined: Jun 25, 201014Year Member
Posts: 4,078
Reputation Power: 2628
Motto: https://www.thetechgame.com/Forums/t=7804 333/vote-for-tune-of-the-week-friday-nigh ts-lockdown-dj-sets.html
Motto: https://www.thetechgame.com/Forums/t=7804 333/vote-for-tune-of-the-week-friday-nigh ts-lockdown-dj-sets.html
Status: Offline
Joined: Jun 25, 201014Year Member
Posts: 4,078
Reputation Power: 2628
Motto: https://www.thetechgame.com/Forums/t=7804 333/vote-for-tune-of-the-week-friday-nigh ts-lockdown-dj-sets.html
Post your code so we can see where the error is.
#3. Posted:
Bighair
  • Powerhouse
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 401
Reputation Power: 17
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 401
Reputation Power: 17
What you have gave us is no use. We have to see the code.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.