Created with IntelliJ IDEA. User: korat Date: 16/12/2013 Time: 00:21 To change this template use File | Settings | File Templates. Usage: simply instantiate it and call the method getQuestions on this instance example -- case 1: no limit required JQuestion jQ = new JQuestion(); Questions[] questions = jQ.getQuestions(); -- case 2: fetch only the first n articles JQuestion jQ = new JQuestion(n); Questions[] questions = jQ.getQuestions(); After that, you can do anything you want with each object in questions array, using its properties, given that, it is a Question object.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.