java - I am getting the error .class expected but can not find a solution to change the line! Any ideas? -


विधि है -

  निजी वर्ग DisplayNum ActionListener कार्यान्वित करता है {सार्वजनिक शून्य कार्रवाई कार्रवाई (ActionEvent e ) {IntInput = String.valueOf (सरणी []); FinalArea.setText ("\ n" + intInput); }}   

अब समस्या int इनपुट लाइन के साथ है, मैं एक। वर्ग की उम्मीद कर रहा हूं और मुझे बताया गया है कि मुझे सामान्य रूप से लाइन बदलने की ज़रूरत है, लेकिन पता नहीं है कि इसे क्या करना है।

intInput स्ट्रिंग के रूप में घोषित किया जाना चाहिए।

सरणी सरणी या सरणी [0] होनी चाहिए, और इसे मुझे लगता है कि घटना से प्राप्त किया जाना चाहिए।

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -