Q&A for How to Program in Java

Return to Full Article

Search
Add New Question
  • Question
    How do I easily learn Java programming?
    Community Answer
    It really depends on how interested you are and how much time you spend learning. It also depends on if you have a programming background. There are many courses you can take online or at local colleges.
  • Question
    How do I use set and get in Java?
    Community Answer
    You need to create a class and define a variable. If you are using Eclipse IDE, then right click and select 'generate setter and getter,' and it will be generated.
  • Question
    How do I solve an error that says "this class doesn't have a man.method" when I am coding in Java?
    Community Answer
    It is presumed that you mean "main method." All Java programs have a main method as that is where the program execution begins. You'll just have to create the main method. public static void main (String [] args) { }.
  • Question
    Which compiler is the best for java programming?
    Community Answer
    There is only one compiler for java and that comes along with Java JDK. What you see as various compilers are actually different IDEs for java programming, so as to ease the programmer according to their own needs.
  • Question
    How do I install the java?
    Community Answer
    Java is basically a programming language. You have to first install Java from Oracle. Then you can use Notepad or Notepad++ as the IDE (on which to work with it). Just make sure that you save your Java file with an extension of .java.
Ask a Question

      Return to Full Article