bad class file: /home/w3eqadm/emtclients/companypage/build/script/emtclients/companypage/lib/emt.jar(com/csfb/equity/edge/util/ApplicationProperties.class)
class file has wrong version 49.0, should be 48.0
I was expecting error as my Cat object created at line 4 is not serialized but when i replace line 4 with
Animal a=new Animal() which is superclass of Cat i am getting error
Is there any way in which I can run a class without the main method?
<notes>
<note date="23/09/07">
<to>jane</to>
<from>Anne</from>
</note>
</notes>
in the above note element I've date as an attribute.
But date can also be defined as a child element like <to>and <from> of note
What difference does it make having date declared as a child element or as an attribute of note element.
This is just my hello world program.. I thought i can just place it in webapp->class.. Is it compulsory to make it placed inside a package???
Can an interface be declared as abstract??
code:
Class CardBoard{
Short story=5;
CardBoard go(CardBoard cd){
cd=null;
return cd;}
public static void min(String ags[]){
CardBoard c1= new CardBoard();
CardBoard c2=new CardBoard():
CardBoard c3= c1.go(c2);
c1=null;
}
}
package pack1;public class TestSupSub{public static void main(String []args){SuperClass s= new SubClass();s.disp();}};