Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8069889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:12:45+00:00 2026-06-05T13:12:45+00:00

I just started using the Eclipse IDE and for a first test I created

  • 0

I just started using the Eclipse IDE and for a first test I created a file and entered the following:

class Vehicle {
   public Vehicle(String s) {
      System.out.println("X");
   }
   // public Vehicle() { }  
}
public class Car extends Vehicle {
   public Car(String s) {
      System.out.println("Y");
   }
   public static void main(String [] args) {
      new Car("Z");
   }
}

But I immediately get errors saying println is not correctly spelled. Can someone tell me if there’s something I am missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T13:12:46+00:00Added an answer on June 5, 2026 at 1:12 pm

    I think you have created an txt file instead of a JAVA file .

    Because of this it is not able to recognize keywords related to java, thereby giving error that the word is not correctly spelled.
    If you will change println to print ,it will stop giving error .As Print is a proper word in English.
    But here you need to change extension of file from .txt to .java

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just started using Log4J for the first time. I created a log4j.properties file
I've just started using my Eclipse to test some jms codes. The thing is...
I just started using Eclipse but already I have a small problem. At first
I just recently(actually today) started using Eclipse CDT for windows. Created a project, a
I just started using the MVCContrib grid in a test project. I'm having a
I just started using django for development. At the moment, I have the following
I just started using Qt and noticed that all the example class definitions have
I just started using Eclipse so go easy on me ;). But when trying
I have just started the Hello World App using Blackberry Eclipse Plugin. I have
I have just started learning to write apps for android using Eclipse. Where can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.