Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Where i can get faqs?

Posted on 2011-03-13
6
Medium Priority
?
233 Views
Last Modified: 2012-05-11
Hi,

I want to practice some core java questions, not basic questions, questions like..

1. can we define a variable in interface?
2. How you can sort user defined objects in a specified manner in collection?

so, please provide the URL, where can i get this kind of questions?
0
Comment
Question by:haneef_nb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 92

Expert Comment

by:objects
ID: 35124633
0
 
LVL 24

Accepted Solution

by:
Eirman earned 2000 total points
ID: 35124654
0
 
LVL 47

Expert Comment

by:for_yan
ID: 35125417
In addition to the above links, these are direct short answers to your questions:

1) Interfaces can and are often used for defining static variables

2) In order to sort user defined objects in the collection you need to override
int compareTo(Object) method and define it in a way which corresponds to
your preference in object ordering. Then Collections.sort(ArrayList) method
will order your obejects as you wish


0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Closing Comment

by:haneef_nb
ID: 35376576
Thanks......
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35376594
Is that single exprt link only help you to achive your answer ?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This video teaches viewers about errors in exception handling.
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question