Starting programming in Java

Course Queries Syllabus Queries 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Syllabus Queries related to Course Queries. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago


As the university starts, I have a new module called "JAVA"! I already have good basic knowledge with visual c#, php and html. But I have never done anything in java.

Our teacher is a rather old man and as far as I got from first class, it is going to be some old stuff. some of the codes to do in first class were like this:

/*Hello.java, Jan Geerlings, 22 august 2002*/ 
public class Hello 
{
   public static void main(String[] args) 
   {
   System.out.println("Hello...My name is \n"); 
   } 
}

For compiling this file we had to go to command prompt and run "javac Hello.java" then "java Hello.java"

Another example he gave us was:

import java.applet.Applet; 
import java.awt.*; 

public class Welcome extends Applet  
{ 
    public void paint(Graphics g)  
    {  
    g.drawString("Welcome... My name is .. ", 50, 20); 
    } 
}

And this one had to run through an html, obviously with following code:

<applet CODE="Welcome.class" WIDTH="250" HEIGHT="150">applet> 

So my question is we used a pretty old dated text editor called UltraEdit and knowing that I come from Visual Studio 2010 experience, it was quite a bit of hassle: No autocomplete, not nice text formatting like brackets and stuff and worse of all no text coloring at all unless compiled first and tons of other limitation.

He also showed us some final assignment from previous students. It was mainly some basic games like PACMAN! and an animation about southpark etc...

Would you kindly tell me what kind of java I am dealing with, and what is a good IDE that can compete with Visual Studio? I went to Eclipse site and there are quite different IDE versions like JAVA EE and normal JAVA. Which one suits my case?

Thanks!

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.