This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to make split the method data into another class  RSS feed

 
pooja rathi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I hope you will get the sequence of code here i have one method called Dates() and i am doing my whole code in that method only but i dont want that i want the date method only reprsent the date and rest of the code in another class but i am finding it difficulty i am new in this please suggest me something.Thanks in advance[
 
Carey Brown
Bartender
Posts: 2603
40
Eclipse IDE Firefox Browser Java MySQL Database VI Editor Windows
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another thing, please use quote tags to quote things that have already been said in past messages, not new things you're writing.
 
Campbell Ritchie
Sheriff
Posts: 54019
130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have removed the quote tags. You cannot put tags insdie code tags.
That SQL code looks wrong; you should not use Strings for date or time. I think you are going to have to go back to your SQL and run the code from the database program's command line interface until you get the correct SQL.

Moving this discussion to our databases forum.
 
Knute Snortum
Sheriff
Posts: 3603
86
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your code is full of errors and will not compile. This makes it very hard to determine what you are trying to do. Please post code that compiles and is properly formatted.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!