Hi,
Just started to learning java.
I found this site;
When I copy the code for Account.java and AccountDemo.java,
I get the following error for AccountDemo.java:
C:\Java Samples>javac accountdemo.java
Accountdemo.java:8: cannot resolve symbol
symbol : class Account
location : class AccountDemo
Account my_account = new Account<>;
^
accountdemo.java:8: cannot resolve symbol
symbol : class Account
location : class AccountDemo
Account my_account = new Account<>;
^
2 errors
Does anyone know what is wrong with the code?
MJV
Just started to learning java.
I found this site;
When I copy the code for Account.java and AccountDemo.java,
I get the following error for AccountDemo.java:
C:\Java Samples>javac accountdemo.java
Accountdemo.java:8: cannot resolve symbol
symbol : class Account
location : class AccountDemo
Account my_account = new Account<>;
^
accountdemo.java:8: cannot resolve symbol
symbol : class Account
location : class AccountDemo
Account my_account = new Account<>;
^
2 errors
Does anyone know what is wrong with the code?
MJV