• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

object class help

 
Annie Dee
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
need help understanding how to connect these two files

FIRST TIME POSTER - EDITED MY POST AND YES I AM CROSS POSTING B/C I WOULD LIKE TO GET HELP ASAP FOR MY ASSIGNMENT - NOT BECAUSE I WANT TO BE RUDE OR SPAM ANYONE.

word from instructor:
You need to create an object of the class Date:

Date d = new Date();

and connect it back to the method isLeapYear().

Date Java file:



DateJDialog file:

 
Darryl Burke
Bartender
Posts: 5131
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) UseCodeTags (does that sound familiar?)

2) Please BeForthrightWhenCrossPostingToOtherSites: http://www.java-forums.org/new-java/80616-object-class-help.html

Also, don't use the browser's back button to edit your posts as that leads to multiple submissions. I know you didn't mean to post the same question twice here, so I've removed the thread you started two minutes before this one.
 
manish ghildiyal
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I guess you need to bring isLeapYear's signature and its invocation in line.
Currently they are not compatible.

Manish
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic