i just want to ask whether it is possible to accept input through keyboard using CLDC supported classes .
I want to develop a simple program which can accept input and displays it.
Is it so then please tell me
Unfortunately, there is no System.in in CLDC. You can use a MIDP TextField or TextBox to allow the user to enter input and then process it.
I suppose you should use MIDP, javax.microedition.lcdui package.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.